Merge pull request #4561 from fappels/3.8

Fix #4556 Desired minimum stock and Stock limit for alert cleared on modify product
This commit is contained in:
Laurent Destailleur 2016-02-05 11:12:31 +01:00
commit e9ee816826

View File

@ -321,8 +321,11 @@ if (empty($reshook))
$object->status = GETPOST('statut');
$object->status_buy = GETPOST('statut_buy');
$object->status_batch = GETPOST('status_batch');
// removed from update view
/*
$object->seuil_stock_alerte = GETPOST('seuil_stock_alerte');
$object->desiredstock = GETPOST('desiredstock');
*/
$object->duration_value = GETPOST('duration_value');
$object->duration_unit = GETPOST('duration_unit');
$object->canvas = GETPOST('canvas');