Fix: UPDATE 6.8

This commit is contained in:
Rodia 2024-07-22 20:46:23 +00:00
parent 98b357dcf2
commit 9881cdab7d
2 changed files with 4 additions and 4 deletions

View file

@ -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'])

View file

@ -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')