// Warehouse: it is not possible to delete a warehouse of it has pending supply orders.

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10173 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
bMancone
2011-11-16 14:12:58 +00:00
parent 4b858a2bed
commit 41f81bf5ae
5 changed files with 37 additions and 8 deletions
+3 -3
View File
@@ -174,9 +174,9 @@ class StockMvtCore extends ObjectModel
$fields['id_stock_mvt_reason'] = (int)$this->id_stock_mvt_reason;
$fields['id_order'] = (int)$this->id_order;
$fields['sign'] = (int)$this->sign;
$fields['last_wa'] = (float)round($this->last_wa, 6);
$fields['current_wa'] = (float)round($this->current_wa, 6);
$fields['price_te'] = (float)round($this->price_te, 6);
$fields['last_wa'] = (float)Tools::ps_round($this->last_wa, 6);
$fields['current_wa'] = (float)Tools::ps_round($this->current_wa, 6);
$fields['price_te'] = (float)Tools::ps_round($this->price_te, 6);
$fields['referer'] = (int)$this->referer;
return $fields;
}