[-] BO: Fix some bugs on advanced stock management
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16446 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
09cb7eff9b
commit
a606873630
6 files changed
+81
-75
No files matched your search
@@ -132,4 +132,9 @@ class WarehouseProductLocationCore extends ObjectModel
|
||||
$collection->where('id_product', '=', (int)$id_product);
|
||||
return $collection;
|
||||
}
|
||||
|
||||
public static function getProducts($id_warehouse)
|
||||
{
|
||||
return Db::getInstance()->executeS('SELECT DISTINCT id_product FROM '._DB_PREFIX_.'warehouse_product_location WHERE id_warehouse='.(int)$id_warehouse);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user