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