// Added hook actionProductCoverage in mailalerts module and updated StockManager

This commit is contained in:
bMancone
2012-03-05 18:52:25 +00:00
parent 461d55dc8a
commit eb86c697dc
13 changed files with 325 additions and 11 deletions
+10
View File
@@ -406,6 +406,16 @@ class StockManagerCore implements StockManagerInterface
}
}
// if we remove a usable quantity, exec hook
if ($is_usable)
Hook::exec('actionProductCoverage',
array(
'id_product' => $id_product,
'id_product_attribute' => $id_product_attribute,
'warehouse' => $warehouse
)
);
return $return;
}