Add field hidden for product. Don't know yet if it will be used.

This commit is contained in:
Laurent Destailleur 2010-03-01 23:45:01 +00:00
parent b38f9aef21
commit d9fabf962f
2 changed files with 4 additions and 1 deletions

View File

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

View File

@ -1,6 +1,6 @@
-- ============================================================================
-- Copyright (C) 2002-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
-- Copyright (C) 2008-2009 Laurent Destailleur <eldy@users.sourceforge.net>
-- Copyright (C) 2008-2010 Laurent Destailleur <eldy@users.sourceforge.net>
-- Copyright (C) 2005-2010 Regis Houssin <regis@dolibarr.fr>
--
-- 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;