Commits

Raimon Esteve (Zikzakmedia) committed 513aa04

Default sequence is 0

  • Participants
  • Parent commits c0664ef

Comments (0)

Files changed (1)

         super(ProductAttribute, cls).__setup__()
         cls._order.insert(0, ('sequence', 'ASC'))
 
+    @staticmethod
+    def default_sequence():
+        return 0
+
 
 class AttributeValue(ModelSQL, ModelView):
     "Values for Attributes"
         super(AttributeValue, cls).__setup__()
         cls._order.insert(0, ('sequence', 'ASC'))
 
+    @staticmethod
+    def default_sequence():
+        return 0
+
 
 class ProductTemplateAttribute(ModelSQL, ModelView):
     "Product Template - Product Attribute"