Skip to content
Snippets Groups Projects
Commit d4f81a9e authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Predefined invoice feature was broken.

parent 6ba4a22d
No related branches found
No related tags found
No related merge requests found
......@@ -241,6 +241,11 @@ alter table llx_facturedet add column localtax2_type varchar(1) after localtax2_
ALTER TABLE llx_facturedet MODIFY COLUMN localtax1_type varchar(1);
ALTER TABLE llx_facturedet MODIFY COLUMN localtax2_type varchar(1);
alter table llx_facturedet_rec add column localtax1_type varchar(1) after localtax1_tx;
alter table llx_facturedet_rec add column localtax2_type varchar(1) after localtax2_tx;
ALTER TABLE llx_facturedet_rec MODIFY COLUMN localtax1_type varchar(1);
ALTER TABLE llx_facturedet_rec MODIFY COLUMN localtax2_type varchar(1);
alter table llx_propaldet add column localtax1_type varchar(1) after localtax1_tx;
alter table llx_propaldet add column localtax2_type varchar(1) after localtax2_tx;
ALTER TABLE llx_propaldet MODIFY COLUMN localtax1_type varchar(1);
......
......@@ -29,8 +29,10 @@ create table llx_facturedet_rec
label varchar(255) DEFAULT NULL,
description text,
tva_tx double(6,3) DEFAULT 19.6, -- taux tva
localtax1_tx double(6,3) DEFAULT 0, -- tax local tax 1
localtax2_tx double(6,3) DEFAULT 0, -- tax local tax 2
localtax1_tx double(6,3) DEFAULT 0, -- localtax1 rate
localtax1_type varchar(1) NULL, -- localtax1 type
localtax2_tx double(6,3) DEFAULT 0, -- localtax2 rate
localtax2_type varchar(1) NULL, -- localtax2 type
qty real, -- quantity
remise_percent real DEFAULT 0, -- pourcentage de remise
remise real DEFAULT 0, -- montant de la remise
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment