diff --git a/addons/product/models/product_attribute.py b/addons/product/models/product_attribute.py index f74c228602a..76ba430ba25 100644 --- a/addons/product/models/product_attribute.py +++ b/addons/product/models/product_attribute.py @@ -21,7 +21,7 @@ class ProductAttribute(models.Model): class ProductAttributevalue(models.Model): _name = "product.attribute.value" - _order = 'sequence, attribute_id, id' + _order = 'attribute_id, sequence, id' name = fields.Char('Attribute Value', required=True, translate=True) sequence = fields.Integer('Sequence', help="Determine the display order")