2
0
forked from Wavyzz/dolibarr

add field to object product, add sql

This commit is contained in:
jpb
2021-07-19 14:03:03 +02:00
parent c0d54fe608
commit 97287af987
5 changed files with 40 additions and 4 deletions

View File

@@ -36,4 +36,5 @@
-- v15
ALTER TABLE llx_product ADD COLUMN mandatory_period tinyint NULL DEFAULT 0 AFTER fk_project;

View File

@@ -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;