Merge branch 'altairisfr-pr_batch_mask' into develop
This commit is contained in:
commit
65ea4285c8
@ -359,3 +359,7 @@ ALTER TABLE llx_propal ADD CONSTRAINT fk_propal_fk_user_signature FOREIGN KEY (f
|
|||||||
|
|
||||||
UPDATE llx_propal SET fk_user_signature = fk_user_cloture WHERE fk_user_signature IS NULL AND fk_user_cloture IS NOT NULL;
|
UPDATE llx_propal SET fk_user_signature = fk_user_cloture WHERE fk_user_signature IS NULL AND fk_user_cloture IS NOT NULL;
|
||||||
UPDATE llx_propal SET date_signature = date_cloture WHERE date_signature IS NULL AND date_cloture IS NOT NULL;
|
UPDATE llx_propal SET date_signature = date_cloture WHERE date_signature IS NULL AND date_cloture IS NOT NULL;
|
||||||
|
|
||||||
|
ALTER TABLE llx_product ADD COLUMN batch_mask VARCHAR(32) NULL;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -51,7 +51,7 @@ create table llx_product
|
|||||||
recuperableonly integer NOT NULL DEFAULT '0', -- French NPR VAT
|
recuperableonly integer NOT NULL DEFAULT '0', -- French NPR VAT
|
||||||
localtax1_tx double(6,3) DEFAULT 0,
|
localtax1_tx double(6,3) DEFAULT 0,
|
||||||
localtax1_type varchar(10) NOT NULL DEFAULT '0',
|
localtax1_type varchar(10) NOT NULL DEFAULT '0',
|
||||||
localtax2_tx double(6,3) DEFAULT 0,
|
localtax2_tx double(6,3) DEFAULT 0,
|
||||||
localtax2_type varchar(10) NOT NULL DEFAULT '0',
|
localtax2_type varchar(10) NOT NULL DEFAULT '0',
|
||||||
fk_user_author integer DEFAULT NULL, -- user making creation
|
fk_user_author integer DEFAULT NULL, -- user making creation
|
||||||
fk_user_modif integer, -- user making last change
|
fk_user_modif integer, -- user making last change
|
||||||
@ -59,6 +59,7 @@ create table llx_product
|
|||||||
tobuy tinyint DEFAULT 1, -- Product you buy
|
tobuy tinyint DEFAULT 1, -- Product you buy
|
||||||
onportal tinyint DEFAULT 0, -- If it is a product you sell and you want to sell it on portal (module website must be on)
|
onportal tinyint DEFAULT 0, -- If it is a product you sell and you want to sell it on portal (module website must be on)
|
||||||
tobatch tinyint DEFAULT 0 NOT NULL, -- Is it a product that need a batch management (eat-by or lot management)
|
tobatch tinyint DEFAULT 0 NOT NULL, -- Is it a product that need a batch management (eat-by or lot management)
|
||||||
|
batch_mask varchar(32), -- If the product has batch feature, you may want to use a batch mask per product
|
||||||
fk_product_type integer DEFAULT 0, -- Type of product: 0 for regular product, 1 for service, 9 for other (used by external module)
|
fk_product_type integer DEFAULT 0, -- Type of product: 0 for regular product, 1 for service, 9 for other (used by external module)
|
||||||
duration varchar(6),
|
duration varchar(6),
|
||||||
seuil_stock_alerte float DEFAULT NULL,
|
seuil_stock_alerte float DEFAULT NULL,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user