From fa38adef5ae5bf3a15d6efde67c8033428707aa0 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Tue, 25 Jul 2017 16:30:20 +0200 Subject: [PATCH] [FIX] product: natural order for products It has been remove with 08a85eb4587745b94940f82e6113319490216642 but was somehow usefull. --- addons/product/models/product.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/product/models/product.py b/addons/product/models/product.py index ca31a71f90b..a2acba254ef 100644 --- a/addons/product/models/product.py +++ b/addons/product/models/product.py @@ -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',