New: Add field accountancy_code for sell/buy product
This commit is contained in:
parent
c05a1e066b
commit
0061b3c7d8
@ -80,3 +80,6 @@ alter table llx_product add column length float DEFAULT NUL
|
|||||||
alter table llx_product add column length_units tinyint DEFAULT NULL after length;
|
alter table llx_product add column length_units tinyint DEFAULT NULL after length;
|
||||||
alter table llx_product add column surface float DEFAULT NULL after length_units;
|
alter table llx_product add column surface float DEFAULT NULL after length_units;
|
||||||
alter table llx_product add column surface_units tinyint DEFAULT NULL after surface;
|
alter table llx_product add column surface_units tinyint DEFAULT NULL after surface;
|
||||||
|
|
||||||
|
alter table llx_product add column accountancy_code_sell varchar(15) after fk_barcode_type;
|
||||||
|
alter table llx_product add column accountancy_code_buy varchar(15) after accountancy_code_sell;
|
||||||
|
|||||||
@ -46,6 +46,8 @@ create table llx_product
|
|||||||
stock_loc varchar(10), -- emplacement dans le stock
|
stock_loc varchar(10), -- emplacement dans le stock
|
||||||
barcode varchar(255) DEFAULT NULL,
|
barcode varchar(255) DEFAULT NULL,
|
||||||
fk_barcode_type integer DEFAULT 0,
|
fk_barcode_type integer DEFAULT 0,
|
||||||
|
accountancy_code_sell varchar(15), -- code compta vente
|
||||||
|
accountancy_code_buy varchar(15), -- code compta achat
|
||||||
partnumber varchar(32),
|
partnumber varchar(32),
|
||||||
weight float DEFAULT NULL,
|
weight float DEFAULT NULL,
|
||||||
weight_units tinyint DEFAULT NULL,
|
weight_units tinyint DEFAULT NULL,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user