From 6848783406d724c878ec16971f6f024fbf1b5f03 Mon Sep 17 00:00:00 2001 From: luc-demeyer Date: Wed, 30 Nov 2016 11:56:10 +0100 Subject: [PATCH] 8.0 fix pre_print_report account_financial_report_webkit --- account_financial_report_webkit/wizard/balance_common.py | 2 +- account_financial_report_webkit/wizard/general_ledger_wizard.py | 2 +- account_financial_report_webkit/wizard/open_invoices_wizard.py | 2 +- .../wizard/partners_ledger_wizard.py | 2 +- account_financial_report_webkit/wizard/print_journal.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/account_financial_report_webkit/wizard/balance_common.py b/account_financial_report_webkit/wizard/balance_common.py index fe4b85d0..591c8799 100644 --- a/account_financial_report_webkit/wizard/balance_common.py +++ b/account_financial_report_webkit/wizard/balance_common.py @@ -392,7 +392,7 @@ class AccountBalanceCommonWizard(orm.TransientModel): def pre_print_report(self, cr, uid, ids, data, context=None): data = super(AccountBalanceCommonWizard, self).pre_print_report( - cr, uid, ids, data, context) + cr, uid, ids, data, context=context) if context is None: context = {} diff --git a/account_financial_report_webkit/wizard/general_ledger_wizard.py b/account_financial_report_webkit/wizard/general_ledger_wizard.py index f13a5816..b820a9ad 100644 --- a/account_financial_report_webkit/wizard/general_ledger_wizard.py +++ b/account_financial_report_webkit/wizard/general_ledger_wizard.py @@ -78,7 +78,7 @@ class AccountReportGeneralLedgerWizard(orm.TransientModel): def pre_print_report(self, cr, uid, ids, data, context=None): data = super(AccountReportGeneralLedgerWizard, self).pre_print_report( - cr, uid, ids, data, context) + cr, uid, ids, data, context=context) # will be used to attach the report on the main account data['ids'] = [data['form']['chart_account_id']] vals = self.read(cr, uid, ids, diff --git a/account_financial_report_webkit/wizard/open_invoices_wizard.py b/account_financial_report_webkit/wizard/open_invoices_wizard.py index 7b57423c..5ba70cc8 100644 --- a/account_financial_report_webkit/wizard/open_invoices_wizard.py +++ b/account_financial_report_webkit/wizard/open_invoices_wizard.py @@ -133,7 +133,7 @@ are still unpaid today (today is my clearance date)?' def pre_print_report(self, cr, uid, ids, data, context=None): data = super(AccountReportOpenInvoicesWizard, self).pre_print_report( - cr, uid, ids, data, context) + cr, uid, ids, data, context=context) vals = self.read(cr, uid, ids, ['until_date', 'group_by_currency'], context=context)[0] diff --git a/account_financial_report_webkit/wizard/partners_ledger_wizard.py b/account_financial_report_webkit/wizard/partners_ledger_wizard.py index 48a33396..d384b6b0 100644 --- a/account_financial_report_webkit/wizard/partners_ledger_wizard.py +++ b/account_financial_report_webkit/wizard/partners_ledger_wizard.py @@ -121,7 +121,7 @@ class AccountReportPartnersLedgerWizard(orm.TransientModel): def pre_print_report(self, cr, uid, ids, data, context=None): data = super(AccountReportPartnersLedgerWizard, self).pre_print_report( - cr, uid, ids, data, context) + cr, uid, ids, data, context=context) if context is None: context = {} # will be used to attach the report on the main account diff --git a/account_financial_report_webkit/wizard/print_journal.py b/account_financial_report_webkit/wizard/print_journal.py index b1bad692..1f23fb8e 100644 --- a/account_financial_report_webkit/wizard/print_journal.py +++ b/account_financial_report_webkit/wizard/print_journal.py @@ -59,7 +59,7 @@ class AccountReportPrintJournalWizard(orm.TransientModel): def pre_print_report(self, cr, uid, ids, data, context=None): data = super(AccountReportPrintJournalWizard, self).\ - pre_print_report(cr, uid, ids, data, context) + pre_print_report(cr, uid, ids, data, context=context) # will be used to attach the report on the main account data['ids'] = [data['form']['chart_account_id']] vals = self.read(cr, uid, ids,