FIX empty cache when we want to load specific warehouses in select
This commit is contained in:
parent
ccd468149b
commit
6e806a5aed
@ -243,6 +243,7 @@ class FormProduct
|
||||
|
||||
$out='';
|
||||
if (empty($conf->global->ENTREPOT_EXTRA_STATUS)) $filterstatus = '';
|
||||
if (!empty($fk_product)) $this->cache_warehouses = array();
|
||||
$this->loadWarehouses($fk_product, '', $filterstatus, true, $exclude, $stockMin, $orderBy);
|
||||
$nbofwarehouses=count($this->cache_warehouses);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user