Fix #4556 desiredstock and seuil_stock_alerte cleared on modify product card
removed inputs from update form also removed from update action
This commit is contained in:
parent
d1362951d7
commit
5f7cb75518
@ -321,8 +321,11 @@ if (empty($reshook))
|
|||||||
$object->status = GETPOST('statut');
|
$object->status = GETPOST('statut');
|
||||||
$object->status_buy = GETPOST('statut_buy');
|
$object->status_buy = GETPOST('statut_buy');
|
||||||
$object->status_batch = GETPOST('status_batch');
|
$object->status_batch = GETPOST('status_batch');
|
||||||
|
// removed from update view
|
||||||
|
/*
|
||||||
$object->seuil_stock_alerte = GETPOST('seuil_stock_alerte');
|
$object->seuil_stock_alerte = GETPOST('seuil_stock_alerte');
|
||||||
$object->desiredstock = GETPOST('desiredstock');
|
$object->desiredstock = GETPOST('desiredstock');
|
||||||
|
*/
|
||||||
$object->duration_value = GETPOST('duration_value');
|
$object->duration_value = GETPOST('duration_value');
|
||||||
$object->duration_unit = GETPOST('duration_unit');
|
$object->duration_unit = GETPOST('duration_unit');
|
||||||
$object->canvas = GETPOST('canvas');
|
$object->canvas = GETPOST('canvas');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user