[IMP] product: order attribute by name
closes #11951 fixes #11602 opw-673857
This commit is contained in:
parent
c8dc4c8daf
commit
48a35ca8f9
|
@ -347,6 +347,7 @@ class produce_price_history(osv.osv):
|
||||||
class product_attribute(osv.osv):
|
class product_attribute(osv.osv):
|
||||||
_name = "product.attribute"
|
_name = "product.attribute"
|
||||||
_description = "Product Attribute"
|
_description = "Product Attribute"
|
||||||
|
_order = 'name'
|
||||||
_columns = {
|
_columns = {
|
||||||
'name': fields.char('Name', translate=True, required=True),
|
'name': fields.char('Name', translate=True, required=True),
|
||||||
'value_ids': fields.one2many('product.attribute.value', 'attribute_id', 'Values', copy=True),
|
'value_ids': fields.one2many('product.attribute.value', 'attribute_id', 'Values', copy=True),
|
||||||
|
|
Loading…
Reference in New Issue