add price_level on product_customer_price_log

fk_soc can be 0 when generic price is stored on log
This commit is contained in:
BENKE Charlie 2017-03-26 19:29:16 +02:00 committed by GitHub
parent d8018f7937
commit d60f1d8402

View File

@ -24,7 +24,8 @@ create table llx_product_customer_price_log
entity integer DEFAULT 1 NOT NULL, -- multi company id
datec datetime,
fk_product integer NOT NULL,
fk_soc integer NOT NULL,
fk_soc integer DEFAULT 0 NOT NULL,
price_level smallint NULL DEFAULT 1,
price double(24,8) DEFAULT 0,
price_ttc double(24,8) DEFAULT 0,
price_min double(24,8) DEFAULT 0,