summaryrefslogtreecommitdiff
path: root/addons/note/note.py
diff options
context:
space:
mode:
authorGery Debongnie <ged@openerp.com>2014-04-09 12:42:30 +0200
committerGery Debongnie <ged@openerp.com>2014-04-09 12:42:30 +0200
commit811456f35e0df0b3f4437d7c08e8f5db1398583e (patch)
tree6a81099effe0b7cd497d993507154b74d6e7f4da /addons/note/note.py
parent3d70e2c76ce648d592188912e65eb04fe80ae893 (diff)
[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
Diffstat (limited to 'addons/note/note.py')
-rw-r--r--addons/note/note.py4
1 files changed, 2 insertions, 2 deletions
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