Added llx_facturedet.special_code (for shipping and ecotax)

This commit is contained in:
ywarnier 2007-08-27 14:39:22 +00:00
parent 403b3b7479
commit 4aef2412ba
3 changed files with 5 additions and 2 deletions

View File

@ -823,3 +823,4 @@ alter table llx_boxes modify box_order varchar(3) NOT NULL;
alter table llx_bordereau_cheque modify number integer;
ALTER TABLE llx_facturedet ADD COLUM special_code tinyint unsigned default 0;

View File

@ -41,5 +41,6 @@ create table llx_facturedet
info_bits integer DEFAULT 0, -- TVA NPR ou non
fk_code_ventilation integer DEFAULT 0 NOT NULL,
fk_export_compta integer DEFAULT 0 NOT NULL,
rang integer DEFAULT 0
rang integer DEFAULT 0, -- ordre d'affichage
special_code tinyint UNSIGNED DEFAULT 0, -- code pour les lignes speciales (livraison=1, ecotaxe=2)
)type=innodb;

View File

@ -45,5 +45,6 @@ create table llx_facturedet
"info_bits" integer DEFAULT 0, -- TVA NPR ou non
"fk_code_ventilation" integer DEFAULT 0 NOT NULL,
"fk_export_compta" integer DEFAULT 0 NOT NULL,
"rang" integer DEFAULT 0
"rang" integer DEFAULT 0, -- ordre d'affichage
"special_code" smallint unsiDEFAULT 0, -- code pour les lignes speciales (livraison=1, ecotaxe=2)
);