[-] 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
This commit is contained in:
tDidierjean
2012-05-18 14:41:20 +00:00
parent 6223b5e939
commit 43e2d300c3
+1
View File
@@ -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),