Better type for situation_cycle_ref

This commit is contained in:
Laurent Destailleur 2023-03-05 14:37:30 +01:00
parent c3e29d3dd5
commit 5893b01e15
2 changed files with 3 additions and 1 deletions

View File

@ -61,6 +61,8 @@ ALTER TABLE llx_socpeople CHANGE fk_prospectcontactlevel fk_prospectlevel varcha
ALTER TABLE llx_facture ADD COLUMN prorata_discount real DEFAULT NULL;
ALTER TABLE llx_facture MODIFY COLUMN situation_cycle_ref integer;
ALTER TABLE llx_payment_salary MODIFY COLUMN datep datetime;
INSERT INTO llx_c_tva(rowid,fk_pays,code,taux,localtax1,localtax1_type,localtax2,localtax2_type,recuperableonly,note,active) values (1179, 117, 'I-28' , 28, 0, '0', 0, '0', 0, 'IGST', 1);

View File

@ -90,7 +90,7 @@ create table llx_facture
prorata_discount real DEFAULT NULL, -- % of the prorata discount (to know how to add prorata discount lines for each vat rate in the invoice)
situation_cycle_ref smallint, -- situation cycle reference. A key that is similar for all the serie.
situation_cycle_ref integer, -- situation cycle reference. A key that is similar for all the serie.
situation_counter smallint, -- situation counter. The number into the serie: 1, 2, ...
situation_final smallint, -- 0 by default, 1 it if is the final invoice.