Skip to content

Commit

Permalink
Filter stock on warehouse status for replenishment
Browse files Browse the repository at this point in the history
Do not show stock of closed warehouse
  • Loading branch information
fappels committed Dec 5, 2016
1 parent 0aacb7c commit 3ca9664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/product/stock/replenish.php
Expand Up @@ -552,7 +552,7 @@
if (! empty($conf->global->STOCK_SUPPORTS_SERVICES) || $objp->fk_product_type == 0)
{
$prod->fetch($objp->rowid);
$prod->load_stock();
$prod->load_stock('warehouseopen, warehouseinternal');

// Multilangs
if (! empty($conf->global->MAIN_MULTILANGS))
Expand Down

0 comments on commit 3ca9664

Please sign in to comment.