Dbut ajout gestion du HT et TTC avec l'option multiprix

This commit is contained in:
Regis Houssin 2006-12-19 12:15:11 +00:00
parent 3856d440d2
commit 6f0930721a
2 changed files with 3 additions and 2 deletions

View File

@ -616,5 +616,5 @@ create table llx_product_subproduct
UNIQUE(fk_product, fk_product_subproduct)
)type=innodb;
alter table llx_product_price add column price_base_type varchar(3) DEFAULT 'HT' after price;
alter table llx_product_price add column price_ttc float(12,4) DEFAULT 0 after price;
alter table llx_product_price add column price_ttc float(12,4) DEFAULT 0 after price;
alter table llx_product_price add column price_base_type varchar(3) DEFAULT 'HT' after price_ttc;

View File

@ -28,6 +28,7 @@ create table llx_product_price
date_price datetime NOT NULL,
price_level tinyint(4) NULL DEFAULT 1,
price double,
price_ttc float(12,4) DEFAULT 0,
price_base_type varchar(3) DEFAULT 'HT',
tva_tx double NOT NULL,
fk_user_author integer,