[-] BO : fix bug #PSCFV-2383 - adding warehouses not working

This commit is contained in:
tDidierjean
2012-05-18 14:41:20 +00:00
parent 2f195ce87f
commit ccb9e8e003
+1
View File
@@ -65,6 +65,7 @@ class WarehouseCore extends ObjectModel
public static $definition = array( public static $definition = array(
'table' => 'warehouse', 'table' => 'warehouse',
'primary' => 'id_warehouse', 'primary' => 'id_warehouse',
'multishop' => true,
'fields' => array( 'fields' => array(
'id_address' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true), 'id_address' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true),
'reference' => array('type' => self::TYPE_STRING, 'validate' => 'isString', 'required' => true, 'size' => 45), 'reference' => array('type' => self::TYPE_STRING, 'validate' => 'isString', 'required' => true, 'size' => 45),