[FIX] product: natural order for products
It has been remove with 08a85eb458 but
was somehow usefull.
This commit is contained in:
@@ -106,7 +106,7 @@ class ProductProduct(models.Model):
|
||||
_description = "Product"
|
||||
_inherits = {'product.template': 'product_tmpl_id'}
|
||||
_inherit = ['mail.thread']
|
||||
_order = 'default_code, id'
|
||||
_order = 'default_code, name, id'
|
||||
|
||||
price = fields.Float(
|
||||
'Price', compute='_compute_product_price',
|
||||
|
||||
Reference in New Issue
Block a user