Add column bomtype
This commit is contained in:
parent
eb15a8e4db
commit
0390111132
@ -40,6 +40,8 @@ ALTER TABLE llx_bom_bom MODIFY COLUMN duration double(24,8);
|
||||
|
||||
-- For v13
|
||||
|
||||
ALTER TABLE llx_bom_bom ADD COLUMN bomtype integer DEFAULT 0;
|
||||
|
||||
UPDATE llx_document_model set nom = 'standard' where nom = 'Standard' and type ='stock';
|
||||
UPDATE llx_document_model set nom = 'stdmovement', type = 'movement' where nom = 'StdMouvement' and type ='mouvement';
|
||||
|
||||
|
||||
@ -18,7 +18,8 @@ CREATE TABLE llx_bom_bom(
|
||||
-- BEGIN MODULEBUILDER FIELDS
|
||||
rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL,
|
||||
entity integer DEFAULT 1 NOT NULL,
|
||||
ref varchar(128) NOT NULL,
|
||||
ref varchar(128) NOT NULL,
|
||||
bomtype integer DEFAULT 0, -- 0 for a BOM to manufacture, 1 for a BOM to dismantle
|
||||
label varchar(255),
|
||||
fk_product integer,
|
||||
description text,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user