mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-11 18:32:32 +01:00
Fix: On rend la rfrence produit obligatoire.
This commit is contained in:
@@ -394,6 +394,8 @@ alter table llx_entrepot add fk_pays integer DEFAULT 0;
|
||||
alter table llx_product add stock_propale integer default 0;
|
||||
alter table llx_product add stock_commande integer default 0;
|
||||
alter table llx_product add seuil_stock_alerte integer default 0;
|
||||
update llx_product set ref=substr(label,0,15) where ref is null;
|
||||
alter table llx_product modify ref varchar(15) UNIQUE NOT NULL;
|
||||
|
||||
alter table llx_groupart add description text after groupart ;
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ create table llx_product
|
||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||
datec datetime,
|
||||
tms timestamp,
|
||||
ref varchar(15) UNIQUE,
|
||||
ref varchar(15) UNIQUE NOT NULL,
|
||||
label varchar(255),
|
||||
description text,
|
||||
price double,
|
||||
|
||||
Reference in New Issue
Block a user