feat: Add rank column into contract line
This commit is contained in:
parent
113af78a9c
commit
a9faf5fb54
@ -300,3 +300,5 @@ UPDATE llx_c_availability SET type_duration = 'w', qty = 3 WHERE code = 'AV_3W';
|
||||
UPDATE llx_c_availability SET type_duration = 'w', qty = 4 WHERE code = 'AV_4W';
|
||||
|
||||
ALTER TABLE llx_boxes_def ADD COLUMN fk_user integer DEFAULT 0 NOT NULL;
|
||||
|
||||
ALTER TABLE llx_contratdet ADD COLUMN rang integer DEFAULT 0 AFTER info_bits;
|
||||
|
||||
@ -56,6 +56,7 @@ create table llx_contratdet
|
||||
product_type integer DEFAULT 1, -- Type of line (1=service by default)
|
||||
info_bits integer DEFAULT 0, -- TVA NPR ou non
|
||||
|
||||
rang integer DEFAULT 0,
|
||||
buy_price_ht double(24,8) DEFAULT NULL, -- buying price
|
||||
fk_product_fournisseur_price integer DEFAULT NULL, -- reference of supplier price when line was added was created (may be used to update buy_price_ht when future invoice will be created)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user