Skip to content

Commit

Permalink
Merge branch '12.0-imp-account_invoice_overdue_reminder-report_ref' o…
Browse files Browse the repository at this point in the history
…f git+ssh://github.com/efatto/credit-control into 12.0
  • Loading branch information
Pretecno committed Jan 10, 2025
2 parents a54a9ac + ddc0923 commit f4ae3d9
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,7 @@ def validate_mail(self):
mvals.pop('attachment_ids', None)
mvals.pop('attachments', None)
mail = self.env['mail.mail'].create(mvals)
inv_report = self.env['ir.actions.report']._get_report_from_name(
'account.report_invoice_with_payments')
inv_report = self.env.ref('account.account_invoices')
if self.company_id.overdue_reminder_attach_invoice:
attachment_ids = []
for inv in self.invoice_ids:
Expand Down

0 comments on commit f4ae3d9

Please sign in to comment.