Début ajout gestion du HT et TTC avec l'option multiprix

This commit is contained in:
Regis Houssin 2006-12-19 11:36:03 +00:00
parent c63d1c4aba
commit a4c3e07689
2 changed files with 4 additions and 1 deletions

View File

@ -615,3 +615,5 @@ create table llx_product_subproduct
fk_product_subproduct integer NOT NULL, -- id du sous-produit fk_product_subproduct integer NOT NULL, -- id du sous-produit
UNIQUE(fk_product, fk_product_subproduct) UNIQUE(fk_product, fk_product_subproduct)
)type=innodb; )type=innodb;
alter table llx_product_price add column price_base_type varchar(3) DEFAULT 'HT' after price;

View File

@ -26,8 +26,9 @@ create table llx_product_price
tms timestamp, tms timestamp,
fk_product integer NOT NULL, fk_product integer NOT NULL,
date_price datetime NOT NULL, date_price datetime NOT NULL,
price_level tinyint(4) NULL DEFAULT 1, price_level tinyint(4) NULL DEFAULT 1,
price double, price double,
price_base_type varchar(3) DEFAULT 'HT',
tva_tx double NOT NULL, tva_tx double NOT NULL,
fk_user_author integer, fk_user_author integer,
envente tinyint DEFAULT 1 envente tinyint DEFAULT 1