From d9fabf962f39b9b360e4e5077c8152475540c1e2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 1 Mar 2010 23:45:01 +0000 Subject: [PATCH] Add field hidden for product. Don't know yet if it will be used. --- htdocs/install/mysql/migration/2.8.0-2.9.0.sql | 2 ++ htdocs/install/mysql/tables/llx_product.sql | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/htdocs/install/mysql/migration/2.8.0-2.9.0.sql b/htdocs/install/mysql/migration/2.8.0-2.9.0.sql index 5ec2e0381e7..bb428c9ee13 100755 --- a/htdocs/install/mysql/migration/2.8.0-2.9.0.sql +++ b/htdocs/install/mysql/migration/2.8.0-2.9.0.sql @@ -59,3 +59,5 @@ alter table llx_commandedet add column localtax1_tx double(6,3) DEFAULT 0 after alter table llx_commandedet add column localtax2_tx double(6,3) DEFAULT 0 after localtax1_tx; alter table llx_commandedet add column total_localtax1 double(24,8) DEFAULT 0 after total_tva; alter table llx_commandedet add column total_localtax2 double(24,8) DEFAULT 0 after total_localtax1; + +alter table llx_product add column hidden tinyint DEFAULT 0; diff --git a/htdocs/install/mysql/tables/llx_product.sql b/htdocs/install/mysql/tables/llx_product.sql index 6d67123da16..79e8aa8258f 100644 --- a/htdocs/install/mysql/tables/llx_product.sql +++ b/htdocs/install/mysql/tables/llx_product.sql @@ -1,6 +1,6 @@ -- ============================================================================ -- Copyright (C) 2002-2006 Rodolphe Quiedeville --- Copyright (C) 2008-2009 Laurent Destailleur +-- Copyright (C) 2008-2010 Laurent Destailleur -- Copyright (C) 2005-2010 Regis Houssin -- -- This program is free software; you can redistribute it and/or modify @@ -55,5 +55,6 @@ create table llx_product pmp double(24,8) DEFAULT 0 NOT NULL, canvas varchar(15) DEFAULT '', finished tinyint DEFAULT NULL, + hidden tinyint DEFAULT 0 -- Need permission see also hidden products import_key varchar(14) -- import key )type=innodb;