Added ability to assign a category of product to a customer
This commit is contained in:
parent
f9d92bf42a
commit
26e25f18a1
@ -34,4 +34,4 @@ alter table llx_rights_def modify column type varchar(1);
|
||||
|
||||
ALTER TABLE `llx_commandedet` ADD column `date_start` DATETIME DEFAULT NULL, ADD `date_end` DATETIME DEFAULT NULL ;
|
||||
|
||||
|
||||
alter table llx_categorie add column fk_soc integer DEFAULT NULL after description;
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
-- ============================================================================
|
||||
-- Copyright (C) 2005 Brice Davoleau <e1davole@iu-vannes.fr>
|
||||
-- Copyright (C) 2005 Matthieu Valleton <mv@seeschloss.org>
|
||||
-- Copyright (C) 2005-2006 Regis Houssin <regis@dolibarr.fr>
|
||||
-- Copyright (C) 2005-2008 Regis Houssin <regis@dolibarr.fr>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
@ -23,8 +23,17 @@
|
||||
create table llx_categorie
|
||||
(
|
||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||
label VARCHAR(255), -- nom de la catégorie
|
||||
description text, -- description de la catégorie
|
||||
visible tinyint DEFAULT 1 NOT NULL, -- determine si les produits sont visible ou pas
|
||||
type tinyint DEFAULT 1 NOT NULL -- Type de catégorie (product, supplier, societe)
|
||||
label VARCHAR(255), -- category name
|
||||
description text, -- description of the category
|
||||
fk_soc integer DEFAULT NULL, -- attribution of the category has a company (for product only)
|
||||
visible tinyint DEFAULT 1 NOT NULL, -- determine if the products are visible or not
|
||||
type tinyint DEFAULT 1 NOT NULL -- category type (product, supplier, customer)
|
||||
)type=innodb;
|
||||
|
||||
--
|
||||
-- List of codes for the field type
|
||||
--
|
||||
-- 0 : product
|
||||
-- 1 : supplier
|
||||
-- 2 : customer
|
||||
--
|
||||
Loading…
Reference in New Issue
Block a user