// StockManagement: added hints with the last unit price and the last quantity of the last stock mvt when adding stock. Quantity is now usable by default when adding stock.

This commit is contained in:
bMancone
2011-12-28 18:16:51 +00:00
parent b178c34da2
commit 8827a89d86
4 changed files with 58 additions and 8 deletions
+1 -1
View File
@@ -2334,7 +2334,7 @@ class AdminControllerCore extends Controller
if (!$type)
return;
Db::getInstance()->execute('DELETE FROM '._DB_PREFIX_.$this->table.'_'.$type.($id_object ? ' WHERE `'.$this->identifier.'`='.(int)$id_object : ''));
foreach ($assos as $asso)