From fee0d0100d20366e75ad67f7cf9e6628247bdfc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Fri, 11 Apr 2014 14:47:32 +0200 Subject: [PATCH] [FIX] read_group: someone added a field, thought it was fun to destroy the method call. bzr revid: tde@openerp.com-20140411124732-e22dzjmav0tuhag5 --- addons/mass_mailing/models/mass_mailing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mass_mailing/models/mass_mailing.py b/addons/mass_mailing/models/mass_mailing.py index f7c6a1d5127..24870ac8408 100644 --- a/addons/mass_mailing/models/mass_mailing.py +++ b/addons/mass_mailing/models/mass_mailing.py @@ -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