From a205aae131ebfe686cdd0a7d09743020ec77fbee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sun, 3 May 2015 14:44:01 +0200 Subject: [PATCH] [FIX] mis_builder: order by sequence, id so d01eb513f is correct --- mis_builder/models/mis_builder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mis_builder/models/mis_builder.py b/mis_builder/models/mis_builder.py index 31b2bacc..f54118f1 100644 --- a/mis_builder/models/mis_builder.py +++ b/mis_builder/models/mis_builder.py @@ -126,7 +126,7 @@ class mis_report_kpi(orm.Model): 'sequence': 100, } - _order = 'sequence' + _order = 'sequence, id' def _check_name(self, cr, uid, ids, context=None): for record_name in self.read(cr, uid, ids, ['name']): @@ -442,7 +442,7 @@ class mis_report_instance_period(orm.Model): 'normalize_factor': 1, } - _order = 'sequence' + _order = 'sequence, id' _sql_constraints = [ ('duration', 'CHECK (duration>0)',