View Issue Details

IDProjectCategoryView StatusLast Update
0001203Módulo DoliPOS[All Projects] Bugpublic2018-11-27 18:18
ReporterjmenentAssigned Tojmenent 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version8.0.3 
Target Version8.0.3Fixed in Version8.0.3 
Summary0001203: Problema de constraint antigua
Descriptionhay una constraint en la tabla llx_pos_ticket a la tabla llx_ticket

ALTER TABLE llx_pos_ticket ADD CONSTRAINT fk_ticket_fk_ticket_source
FOREING KEY (fk_ticket_source) REFERENCES llx_ticket (rowid);

El problema es que cuando creas un ticket de borrador no hay
ticket de origen y coloca 0 en el campo "fk_ticket_source" y crea
un error !

función crear en /class/ticket.class.php

if (! $ this-> source_id) $ this-> source_id = 0;
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-11-09 09:47 jmenent New Issue
2018-11-09 09:47 jmenent Status new => assigned
2018-11-09 09:47 jmenent Assigned To => jmenent
2018-11-09 10:12 jmenent Status assigned => resolved
2018-11-09 10:12 jmenent Resolution open => fixed
2018-11-09 10:12 jmenent Fixed in Version => next
2018-11-27 18:18 fzabaleta Product Version 8.0.1 => 8.0.3
2018-11-27 18:18 fzabaleta Fixed in Version next => 8.0.3
2018-11-27 18:18 fzabaleta Target Version next => 8.0.3