From 2848fe6b2cdb4fdf562f745d93e75969dc90423c Mon Sep 17 00:00:00 2001 From: benjamin <benjamin@le-filament.com> Date: Tue, 13 Sep 2022 12:29:17 +0200 Subject: [PATCH] [fix] error _compute_lines fields names in account.invoice.all model --- report/account_invoice_all.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/report/account_invoice_all.py b/report/account_invoice_all.py index 1cb7af1..c3a19d8 100644 --- a/report/account_invoice_all.py +++ b/report/account_invoice_all.py @@ -56,8 +56,8 @@ class ScopAccountInvoiceIDFReport(models.Model): .search( [ ("partner_id", "=", inv.partner_id.id), - ("writing_date", "=", inv.date_invoice), - ("acc_doc", "=", inv.number), + ("writing_date", "=", inv.invoice_date), + ("acc_doc", "=", inv.name), ("type", "=", "inv"), ] ) -- GitLab