From fd7e9f4fc5a62b22534a903d45daeceb4162b4d3 Mon Sep 17 00:00:00 2001 From: wilson gomez Date: Thu, 20 Jan 2022 08:50:42 -0500 Subject: [PATCH] minor fix --- account.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/account.py b/account.py index a65ac78..a2dea5b 100644 --- a/account.py +++ b/account.py @@ -80,8 +80,8 @@ class IncomeStatementCOLGAAP(metaclass=PoolMeta): __name__ = 'account_col.income_statement_colgaap' @classmethod - def get_context(cls, records, data): - report_context = super(IncomeStatementCOLGAAP, cls).get_context(records, data) + def get_context(cls, records, header, data): + report_context = super().get_context(records, header, data) Company = Pool().get('company.company') company = Company(Transaction().context.get('company')) result = {} @@ -131,7 +131,7 @@ class BalanceSheetCOLGAAP(metaclass=PoolMeta): @classmethod def get_context(cls, records, header, data): - report_context = super(BalanceSheetCOLGAAP, cls).get_context(records, header, data) + report_context = super().get_context(records, header, data) Company = Pool().get('company.company') company = Company(Transaction().context.get('company')) result = {}