Merge pull request #4656 from defrance/patch-104

Add model_pdf fields for edition feature on product
This commit is contained in:
Laurent Destailleur 2016-02-20 02:29:58 +01:00
commit 0a02d58afb
2 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,7 @@
-- -- VPGSQL8.2 DELETE FROM llx_usergroup_user WHERE fk_user NOT IN (SELECT rowid from llx_user); -- -- VPGSQL8.2 DELETE FROM llx_usergroup_user WHERE fk_user NOT IN (SELECT rowid from llx_user);
-- -- VMYSQL4.1 DELETE FROM llx_usergroup_user WHERE fk_usergroup NOT IN (SELECT rowid from llx_usergroup); -- -- VMYSQL4.1 DELETE FROM llx_usergroup_user WHERE fk_usergroup NOT IN (SELECT rowid from llx_usergroup);
ALTER TABLE llx_product ADD COLUMN model_pdf varchar(255) default '';
CREATE TABLE llx_categorie_user CREATE TABLE llx_categorie_user
( (

View File

@ -81,6 +81,7 @@ create table llx_product
finished tinyint DEFAULT NULL, -- 1=manufactured product, 0=matiere premiere finished tinyint DEFAULT NULL, -- 1=manufactured product, 0=matiere premiere
hidden tinyint DEFAULT 0, -- Not used. Deprecated. hidden tinyint DEFAULT 0, -- Not used. Deprecated.
import_key varchar(14), -- Import key import_key varchar(14), -- Import key
model_pdf varchar(255), -- model save dodument used
fk_price_expression integer, -- Link to the rule for dynamic price calculation fk_price_expression integer, -- Link to the rule for dynamic price calculation
desiredstock integer DEFAULT 0, desiredstock integer DEFAULT 0,
fk_unit integer DEFAULT NULL, fk_unit integer DEFAULT NULL,