Fix: substr en substring
This commit is contained in:
parent
1639a0d0ce
commit
cea3c63d56
@ -481,7 +481,7 @@ 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;
|
||||
update llx_product set ref=substring(label,0,15) where ref is null;
|
||||
alter table llx_product modify ref varchar(15) UNIQUE NOT NULL;
|
||||
alter table llx_product add note text after description;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user