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:
parent
d8018f7937
commit
d60f1d8402
@ -24,7 +24,8 @@ create table llx_product_customer_price_log
|
|||||||
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
||||||
datec datetime,
|
datec datetime,
|
||||||
fk_product integer NOT NULL,
|
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 double(24,8) DEFAULT 0,
|
||||||
price_ttc double(24,8) DEFAULT 0,
|
price_ttc double(24,8) DEFAULT 0,
|
||||||
price_min double(24,8) DEFAULT 0,
|
price_min double(24,8) DEFAULT 0,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user