diff --git a/htdocs/install/mysql/migration/17.0.0-18.0.0.sql b/htdocs/install/mysql/migration/17.0.0-18.0.0.sql index f12fd564831..6ae41a359dc 100644 --- a/htdocs/install/mysql/migration/17.0.0-18.0.0.sql +++ b/htdocs/install/mysql/migration/17.0.0-18.0.0.sql @@ -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); diff --git a/htdocs/install/mysql/tables/llx_facture.sql b/htdocs/install/mysql/tables/llx_facture.sql index 6e54df4eb32..e1c82e62f2d 100644 --- a/htdocs/install/mysql/tables/llx_facture.sql +++ b/htdocs/install/mysql/tables/llx_facture.sql @@ -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.