From a32b75fe97e7feba29217930a6e63d148cafd277 Mon Sep 17 00:00:00 2001 From: Eloi Cousinet Date: Thu, 16 Aug 2018 10:14:41 +0200 Subject: [PATCH] [FIX] Assign partner_ids instead of journal_ids --- account_financial_report_qweb/wizard/general_ledger_wizard.py | 2 +- account_financial_report_qweb/wizard/trial_balance_wizard.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/account_financial_report_qweb/wizard/general_ledger_wizard.py b/account_financial_report_qweb/wizard/general_ledger_wizard.py index aed2a915..5f9603fe 100644 --- a/account_financial_report_qweb/wizard/general_ledger_wizard.py +++ b/account_financial_report_qweb/wizard/general_ledger_wizard.py @@ -158,7 +158,7 @@ class GeneralLedgerReportWizard(models.TransientModel): 'company_id': self.company_id.id, 'filter_account_ids': [(6, 0, self.account_ids.ids)], 'filter_partner_ids': [(6, 0, self.partner_ids.ids)], - 'filter_journal_ids': [(6, 0, self.partner_ids.ids)], + 'filter_journal_ids': [(6, 0, self.journal_ids.ids)], 'filter_cost_center_ids': [(6, 0, self.cost_center_ids.ids)], 'centralize': self.centralize, 'fy_start_date': self.fy_start_date, diff --git a/account_financial_report_qweb/wizard/trial_balance_wizard.py b/account_financial_report_qweb/wizard/trial_balance_wizard.py index 677f8abe..d58b7031 100644 --- a/account_financial_report_qweb/wizard/trial_balance_wizard.py +++ b/account_financial_report_qweb/wizard/trial_balance_wizard.py @@ -154,7 +154,7 @@ class TrialBalanceReportWizard(models.TransientModel): 'company_id': self.company_id.id, 'filter_account_ids': [(6, 0, self.account_ids.ids)], 'filter_partner_ids': [(6, 0, self.partner_ids.ids)], - 'filter_journal_ids': [(6, 0, self.partner_ids.ids)], + 'filter_journal_ids': [(6, 0, self.journal_ids.ids)], 'fy_start_date': self.fy_start_date, 'show_partner_details': self.show_partner_details, }