Merge pull request #17326 from atm-greg/FIX_warehouse_label_edition
fix warehouse label field edition
This commit is contained in:
commit
e2d7e84072
@ -98,6 +98,7 @@ if (empty($reshook))
|
|||||||
$object->ref = GETPOST("ref");
|
$object->ref = GETPOST("ref");
|
||||||
$object->fk_parent = GETPOST("fk_parent");
|
$object->fk_parent = GETPOST("fk_parent");
|
||||||
$object->libelle = GETPOST("libelle");
|
$object->libelle = GETPOST("libelle");
|
||||||
|
$object->label = GETPOST("libelle");
|
||||||
$object->description = GETPOST("desc");
|
$object->description = GETPOST("desc");
|
||||||
$object->statut = GETPOST("statut");
|
$object->statut = GETPOST("statut");
|
||||||
$object->lieu = GETPOST("lieu");
|
$object->lieu = GETPOST("lieu");
|
||||||
@ -168,6 +169,7 @@ if (empty($reshook))
|
|||||||
if ($object->fetch($id))
|
if ($object->fetch($id))
|
||||||
{
|
{
|
||||||
$object->libelle = GETPOST("libelle");
|
$object->libelle = GETPOST("libelle");
|
||||||
|
$object->label = GETPOST("libelle");
|
||||||
$object->fk_parent = GETPOST("fk_parent");
|
$object->fk_parent = GETPOST("fk_parent");
|
||||||
$object->description = GETPOST("desc");
|
$object->description = GETPOST("desc");
|
||||||
$object->statut = GETPOST("statut");
|
$object->statut = GETPOST("statut");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user