Source

trytond-product_variant / product.py

Diff from to

product.py

         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"