[FIX] product: natural order for products

It has been remove with 08a85eb458 but
was somehow usefull.
This commit is contained in:
Christophe Simonis
2017-07-25 16:30:20 +02:00
parent bfa55e42f9
commit fa38adef5a
+1 -1
View File
@@ -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',