New: Add field accountancy_code for sell/buy product

This commit is contained in:
Laurent Destailleur 2010-03-13 22:54:55 +00:00
parent c05a1e066b
commit 0061b3c7d8
2 changed files with 5 additions and 0 deletions

View File

@ -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 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 accountancy_code_sell varchar(15) after fk_barcode_type;
alter table llx_product add column accountancy_code_buy varchar(15) after accountancy_code_sell;

View File

@ -46,6 +46,8 @@ create table llx_product
stock_loc varchar(10), -- emplacement dans le stock
barcode varchar(255) DEFAULT NULL,
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),
weight float DEFAULT NULL,
weight_units tinyint DEFAULT NULL,