From 167b855f7b135a07f063993225d3c480da9686fc Mon Sep 17 00:00:00 2001 From: ferran-73 Date: Mon, 9 Aug 2021 13:32:47 +0200 Subject: [PATCH 1/2] [14.0][FIX] account_financial_report: fix method parameter order --- account_financial_report/report/open_items_xlsx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_financial_report/report/open_items_xlsx.py b/account_financial_report/report/open_items_xlsx.py index ce266080..a1a3cfb3 100644 --- a/account_financial_report/report/open_items_xlsx.py +++ b/account_financial_report/report/open_items_xlsx.py @@ -185,8 +185,8 @@ class OpenItemsXslx(models.AbstractModel): self.write_ending_balance_from_dict( accounts_data[account_id], type_object, - report_data, total_amount, + report_data, account_id, ) From 5d19103ab3427ebac578a7d88f496cea7b67298c Mon Sep 17 00:00:00 2001 From: ferran-73 Date: Mon, 9 Aug 2021 13:57:09 +0200 Subject: [PATCH 2/2] [14.0][IMP] account_financial_report: add keyword to function calls --- account_financial_report/report/open_items_xlsx.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/account_financial_report/report/open_items_xlsx.py b/account_financial_report/report/open_items_xlsx.py index a1a3cfb3..5be01939 100644 --- a/account_financial_report/report/open_items_xlsx.py +++ b/account_financial_report/report/open_items_xlsx.py @@ -160,8 +160,8 @@ class OpenItemsXslx(models.AbstractModel): type_object, total_amount, report_data, - account_id, - partner_id, + account_id=account_id, + partner_id=partner_id, ) # Line break @@ -187,7 +187,7 @@ class OpenItemsXslx(models.AbstractModel): type_object, total_amount, report_data, - account_id, + account_id=account_id, ) # 2 lines break