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:
Francis Appels 2016-02-03 19:52:09 +01:00
parent d1362951d7
commit 5f7cb75518

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');