// Fixed bugs when editing Warehouses & Suppliers for a product

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11222 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
bMancone
2011-12-14 16:52:33 +00:00
parent 342f6b58b6
commit 931d79ac7f
2 changed files with 11 additions and 6 deletions
+1 -2
View File
@@ -66,13 +66,12 @@ class ProductSupplierCore extends ObjectModel
'table' => 'product_supplier',
'primary' => 'id_product_supplier',
'fields' => array(
'product_supplier_reference' => array('type' => self::TYPE_INT, 'validate' => 'isReference'),
'product_supplier_reference' => array('type' => self::TYPE_INT, 'validate' => 'isReference', 'size' => 32),
'id_product' => 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),
'product_supplier_price_te' => array('type' => self::TYPE_FLOAT, 'validate' => 'isPrice'),
'id_currency' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId'),
'supplier_reference' => array('type' => self::TYPE_STRING, 'size' => 32),
),
);