[-] BO : fix bug #PSCFV-2383 - adding warehouses not working
This commit is contained in:
@@ -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),
|
||||||
|
|||||||
Reference in New Issue
Block a user