// Fix collections

This commit is contained in:
rMalie
2011-12-05 09:05:45 +00:00
parent 8875f74163
commit 0fc896fd96
3 changed files with 3 additions and 6 deletions
+1 -4
View File
@@ -59,12 +59,9 @@ class CartRuleCore extends ObjectModel
public static $definition = array(
'table' => 'cart_rule',
'identifier' => 'id_cart_rule',
'primary' => 'id_cart_rule',
);
protected $table = 'cart_rule';
protected $identifier = 'id_cart_rule';
protected $fieldsRequired = array('date_from', 'date_to');
protected $fieldsSize = array('code' => 254, 'description' => 65534);
protected $fieldsValidate = array(
+1 -1
View File
@@ -71,7 +71,7 @@ class OrderInvoiceCore extends ObjectModel
public static $definition = array(
'table' => 'order_invoice',
'identifier' => 'id_order_invoice',
'primary' => 'id_order_invoice',
);
public function getFields()
+1 -1
View File
@@ -84,7 +84,7 @@ class StockCore extends ObjectModel
public static $definition = array(
'table' => 'stock',
'identifier' => 'id_stock',
'primary' => 'id_stock',
);
public function getFields()