forked from Wavyzz/dolibarr
add field to object product, add sql
This commit is contained in:
@@ -36,4 +36,5 @@
|
||||
|
||||
|
||||
-- v15
|
||||
ALTER TABLE llx_product ADD COLUMN mandatory_period tinyint NULL DEFAULT 0 AFTER fk_project;
|
||||
|
||||
|
||||
@@ -103,5 +103,7 @@ create table llx_product
|
||||
desiredstock float DEFAULT 0,
|
||||
fk_unit integer DEFAULT NULL,
|
||||
price_autogen tinyint DEFAULT 0,
|
||||
fk_project integer DEFAULT NULL -- Used when product was generated by a project or is specifif to a project
|
||||
fk_project integer DEFAULT NULL, -- Used when product was generated by a project or is specifif to a project
|
||||
mandatory_period tinyint DEFAULT 0 -- is used to signal to the user that the start and end dates are mandatory for this type of product the fk_product_type == 1 (service) (non-blocking action)
|
||||
|
||||
)ENGINE=innodb;
|
||||
|
||||
Reference in New Issue
Block a user