From 9881cdab7db546cd852df52b870e19d6e284011b Mon Sep 17 00:00:00 2001 From: sinergia Date: Mon, 22 Jul 2024 20:46:23 +0000 Subject: [PATCH] Fix: UPDATE 6.8 --- analytic_account_report.py | 4 ++-- income_statement_colgaap_report.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/analytic_account_report.py b/analytic_account_report.py index 85459e2..94aba1d 100644 --- a/analytic_account_report.py +++ b/analytic_account_report.py @@ -180,8 +180,8 @@ class AnalyticAccount(Report): __name__ = 'analytic_account_co.analytic_account' @classmethod - def get_context(cls, records, data): - report_context = super(AnalyticAccount, cls).get_context(records, data) + def get_context(cls, records, header, data): + report_context = super(AnalyticAccount, cls).get_context(records, header, data) pool = Pool() Company = pool.get('company.company') company = Company(data['company']) diff --git a/income_statement_colgaap_report.py b/income_statement_colgaap_report.py index faaed0d..f961480 100644 --- a/income_statement_colgaap_report.py +++ b/income_statement_colgaap_report.py @@ -288,9 +288,9 @@ class IncomeStatementCOLGAAP(Report): __name__ = 'analytic_account_co.income_statement_colgaap' @classmethod - def get_context(cls, records, data): + def get_context(cls, records, header, data): report_context = super(IncomeStatementCOLGAAP, cls).get_context( - records, data) + records, header, data) pool = Pool() Company = pool.get('company.company') Period = pool.get('account.period')