diff --git a/addons/account_followup/report/report_followup_print.py b/addons/account_followup/report/report_followup_print.py index eb30d91f6fd..f77c6ff7239 100644 --- a/addons/account_followup/report/report_followup_print.py +++ b/addons/account_followup/report/report_followup_print.py @@ -80,7 +80,7 @@ class report_rappel(report_sxw.rml_parse): text = i.followup_line_id.description a[delay] = text partner_delay.append(delay) - text = a[max(partner_delay)] or '' + text = partner_delay and a[max(partner_delay)] or '' if text: text = text % {'partner_name':partner.name} return text diff --git a/addons/account_followup/wizard/wizard_followup_print.py b/addons/account_followup/wizard/wizard_followup_print.py index b6c7ae4e6cf..8344914fbd6 100644 --- a/addons/account_followup/wizard/wizard_followup_print.py +++ b/addons/account_followup/wizard/wizard_followup_print.py @@ -29,6 +29,15 @@ import tools from osv import fields, osv from tools.translate import _ +_email_summary_form = """ +
""" + +_email_summary_fields = { + 'summary': {'string': 'Summary', 'type': 'text', 'required': False, 'readonly': True}, +} + _followup_wizard_screen1_form = """