début ajout possibilité de déterminer si le contenu d'une catégorie sera visible ou
non dans la liste des produits/services, ceci afin de pouvoir cacher les sous-produits par exemple.
This commit is contained in:
parent
701511da80
commit
955a7dbcea
@ -52,7 +52,8 @@ create table llx_commande_fournisseur_model_pdf
|
|||||||
description text
|
description text
|
||||||
)type=innodb;
|
)type=innodb;
|
||||||
|
|
||||||
alter table llx_categorie add fk_statut smallint DEFAULT 0;
|
alter table llx_categorie drop column fk_statut;
|
||||||
|
alter table llx_categorie add visible tinyint DEFAULT 1 NOT NULL;
|
||||||
|
|
||||||
|
|
||||||
alter table llx_actioncomm modify datea datetime;
|
alter table llx_actioncomm modify datea datetime;
|
||||||
|
|||||||
@ -27,5 +27,5 @@ create table llx_categorie
|
|||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
label VARCHAR(255), -- nom de la catégorie
|
label VARCHAR(255), -- nom de la catégorie
|
||||||
description text, -- description de la catégorie
|
description text, -- description de la catégorie
|
||||||
fk_statut smallint default 0 -- type et statut de la catégorie
|
visible tinyint DEFAULT 1 NOT NULL -- determine si les produits sont visible ou pas
|
||||||
)type=innodb;
|
)type=innodb;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user