minor fix

This commit is contained in:
wilson gomez 2022-01-20 08:50:42 -05:00
parent 05e12b35f3
commit fd7e9f4fc5
1 changed files with 3 additions and 3 deletions

View File

@ -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 = {}