Début ajout gestion du HT et TTC avec l'option multiprix
This commit is contained in:
parent
3856d440d2
commit
6f0930721a
@ -616,5 +616,5 @@ create table llx_product_subproduct
|
|||||||
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;
|
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;
|
||||||
@ -28,6 +28,7 @@ create table llx_product_price
|
|||||||
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_ttc float(12,4) DEFAULT 0,
|
||||||
price_base_type varchar(3) DEFAULT 'HT',
|
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,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user