[FIX] read_group: someone added a field, thought it was fun to destroy

the method call.

bzr revid: tde@openerp.com-20140411124732-e22dzjmav0tuhag5
This commit is contained in:
Thibault Delavallée 2014-04-11 14:47:32 +02:00
parent 94c580e933
commit fee0d0100d
1 changed files with 1 additions and 1 deletions

View File

@ -622,7 +622,7 @@ class MassMailing(osv.Model):
})
return super(MassMailing, self).copy_data(cr, uid, id, default, context=context)
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):
""" Override read_group to always display all states. """
if groupby and groupby[0] == "state":
# Default result structure