From 811456f35e0df0b3f4437d7c08e8f5db1398583e Mon Sep 17 00:00:00 2001 From: Gery Debongnie Date: Wed, 9 Apr 2014 12:42:30 +0200 Subject: [FIX] add the new 'lazy' keyword argument to the read_group calls inherited in several models (addons calendar, idea, note) bzr revid: ged@openerp.com-20140409104230-5v0p49ij1wd87qhc --- addons/note/note.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'addons/note/note.py') diff --git a/addons/note/note.py b/addons/note/note.py index 7f03f43b36a..38b2395a852 100644 --- a/addons/note/note.py +++ b/addons/note/note.py @@ -116,7 +116,7 @@ class note_note(osv.osv): } _order = 'sequence' - def read_group(self, cr, uid, domain, fields, groupby, offset=0, limit=None, context=None, orderby=False): + def read_group(self, cr, uid, domain, fields, groupby, offset=0, limit=None, context=None, orderby=False, lazy=True): if groupby and groupby[0]=="stage_id": #search all stages @@ -169,7 +169,7 @@ class note_note(osv.osv): else: return super(note_note, self).read_group(self, cr, uid, domain, fields, groupby, - offset=offset, limit=limit, context=context, orderby=orderby) + offset=offset, limit=limit, context=context, orderby=orderby,lazy=lazy) #upgrade config setting page to configure pad, fancy and tags mode -- cgit v1.2.3