diff --git a/account_financial_report/wizard/aged_partner_balance_wizard.py b/account_financial_report/wizard/aged_partner_balance_wizard.py index a01586a7..10eaa714 100644 --- a/account_financial_report/wizard/aged_partner_balance_wizard.py +++ b/account_financial_report/wizard/aged_partner_balance_wizard.py @@ -53,7 +53,8 @@ class AgedPartnerBalanceWizard(models.TransientModel): self.account_ids = self.account_ids.filtered( lambda a: a.company_id == self.company_id) res = {'domain': {'account_ids': [], - 'partner_ids': []}} + 'partner_ids': ['|', ('active', '=', False), + ('active', '=', True)]}} if not self.company_id: return res else: diff --git a/account_financial_report/wizard/general_ledger_wizard.py b/account_financial_report/wizard/general_ledger_wizard.py index 621cc070..e05fe3f6 100644 --- a/account_financial_report/wizard/general_ledger_wizard.py +++ b/account_financial_report/wizard/general_ledger_wizard.py @@ -154,7 +154,8 @@ class GeneralLedgerReportWizard(models.TransientModel): self.cost_center_ids = self.cost_center_ids.filtered( lambda c: c.company_id == self.company_id) res = {'domain': {'account_ids': [], - 'partner_ids': [], + 'partner_ids': ['|', ('active', '=', False), + ('active', '=', True)], 'account_journal_ids': [], 'cost_center_ids': [], 'date_range_id': [] diff --git a/account_financial_report/wizard/open_items_wizard.py b/account_financial_report/wizard/open_items_wizard.py index 976c7983..e8526c63 100644 --- a/account_financial_report/wizard/open_items_wizard.py +++ b/account_financial_report/wizard/open_items_wizard.py @@ -84,7 +84,8 @@ class OpenItemsReportWizard(models.TransientModel): self.account_ids = self.account_ids.filtered( lambda a: a.company_id == self.company_id) res = {'domain': {'account_ids': [], - 'partner_ids': []}} + 'partner_ids': ['|', ('active', '=', False), + ('active', '=', True)]}} if not self.company_id: return res else: diff --git a/account_financial_report/wizard/trial_balance_wizard.py b/account_financial_report/wizard/trial_balance_wizard.py index f9eac02f..5e6a9a9a 100644 --- a/account_financial_report/wizard/trial_balance_wizard.py +++ b/account_financial_report/wizard/trial_balance_wizard.py @@ -127,7 +127,8 @@ class TrialBalanceReportWizard(models.TransientModel): self.account_ids = self.account_ids.filtered( lambda a: a.company_id == self.company_id) res = {'domain': {'account_ids': [], - 'partner_ids': [], + 'partner_ids': ['|', ('active', '=', False), + ('active', '=', True)], 'date_range_id': [], 'journal_ids': [], }