Browse Source

8.0 fix pre_print_report account_financial_report_webkit

pull/253/head
luc-demeyer 8 years ago
parent
commit
6848783406
  1. 2
      account_financial_report_webkit/wizard/balance_common.py
  2. 2
      account_financial_report_webkit/wizard/general_ledger_wizard.py
  3. 2
      account_financial_report_webkit/wizard/open_invoices_wizard.py
  4. 2
      account_financial_report_webkit/wizard/partners_ledger_wizard.py
  5. 2
      account_financial_report_webkit/wizard/print_journal.py

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

2
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,

2
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]

2
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

2
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,

Loading…
Cancel
Save