// Updated type in definition for product_supplier_reference (Thanks R.)
This commit is contained in:
@@ -66,7 +66,7 @@ class ProductSupplierCore extends ObjectModel
|
|||||||
'table' => 'product_supplier',
|
'table' => 'product_supplier',
|
||||||
'primary' => 'id_product_supplier',
|
'primary' => 'id_product_supplier',
|
||||||
'fields' => array(
|
'fields' => array(
|
||||||
'product_supplier_reference' => array('type' => self::TYPE_INT, 'validate' => 'isReference', 'size' => 32),
|
'product_supplier_reference' => array('type' => self::TYPE_STRING, 'validate' => 'isReference', 'size' => 32),
|
||||||
'id_product' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true),
|
'id_product' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true),
|
||||||
'id_product_attribute' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true),
|
'id_product_attribute' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true),
|
||||||
'id_supplier' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true),
|
'id_supplier' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true),
|
||||||
|
|||||||
Reference in New Issue
Block a user