Task 672 : add stock limitation on shipment + translation

This commit is contained in:
Maxime Kohlhaas
2014-03-15 14:59:27 +01:00
parent b6a2fa61c8
commit 1911f6fcdc
4 changed files with 25 additions and 3 deletions

View File

@@ -1104,7 +1104,7 @@ class Commande extends CommonOrder
}
$product_type=$type;
if ($fk_product)
if (!empty($fk_product))
{
$product=new Product($this->db);
$result=$product->fetch($fk_product);