diff --git a/addons/account_followup/report/account_followup_print.py b/addons/account_followup/report/account_followup_print.py index c601aaac13c..8bfb3fff1a9 100644 --- a/addons/account_followup/report/account_followup_print.py +++ b/addons/account_followup/report/account_followup_print.py @@ -20,10 +20,8 @@ ############################################################################## import time -import ir import pooler -from osv import osv from report import report_sxw class report_rappel(report_sxw.rml_parse): diff --git a/addons/account_followup/report/account_followup_report.py b/addons/account_followup/report/account_followup_report.py index 0cfc5cd4671..ba0756f5c49 100644 --- a/addons/account_followup/report/account_followup_report.py +++ b/addons/account_followup/report/account_followup_report.py @@ -56,7 +56,6 @@ class account_followup_stat(osv.osv): context=context, count=count) def read_group(self, cr, uid, domain, fields, groupby, offset=0, limit=None, context=None): - todel=[] for arg in domain: if arg[0] == 'period_id' and arg[2] == 'current_year': current_year = self.pool.get('account.fiscalyear').find(cr, uid) @@ -91,7 +90,7 @@ class account_followup_stat(osv.osv): l.reconcile_id is NULL AND l.partner_id IS NOT NULL GROUP BY - l.id, l.partner_id, l.company_id, l.blocked, l.period_id + l.id, l.partner_id, l.company_id, l.blocked, l.period_id )""") account_followup_stat()