From 43e2d300c38ca9178f5158f6cec9c30d5bc0736a Mon Sep 17 00:00:00 2001 From: tDidierjean Date: Fri, 18 May 2012 14:41:20 +0000 Subject: [PATCH] [-] BO : fix bug #PSCFV-2383 - adding warehouses not working git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15381 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/stock/Warehouse.php | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/stock/Warehouse.php b/classes/stock/Warehouse.php index 244f1283d..81208de8e 100644 --- a/classes/stock/Warehouse.php +++ b/classes/stock/Warehouse.php @@ -65,6 +65,7 @@ class WarehouseCore extends ObjectModel public static $definition = array( 'table' => 'warehouse', 'primary' => 'id_warehouse', + 'multishop' => true, 'fields' => array( 'id_address' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true), 'reference' => array('type' => self::TYPE_STRING, 'validate' => 'isString', 'required' => true, 'size' => 45),