diff --git a/account_invoice_overdue_reminder/data/mail_template.xml b/account_invoice_overdue_reminder/data/mail_template.xml index 251bcc20e..c158862d7 100644 --- a/account_invoice_overdue_reminder/data/mail_template.xml +++ b/account_invoice_overdue_reminder/data/mail_template.xml @@ -41,7 +41,7 @@ Residual Past Reminders -% for inv in object.invoice_ids.sorted(key='invoice_date'): +% for inv in object.get_invoices().sorted(key='invoice_date'):