From 131f9dc162afae7f08a5d87253a29ba92e151e95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Todorovich?= Date: Sun, 2 Feb 2020 15:11:47 +0100 Subject: [PATCH] [FIX] Missing company domain --- account_financial_report/wizard/general_ledger_wizard.py | 1 + 1 file changed, 1 insertion(+) diff --git a/account_financial_report/wizard/general_ledger_wizard.py b/account_financial_report/wizard/general_ledger_wizard.py index 1da3dd97..83f416f8 100644 --- a/account_financial_report/wizard/general_ledger_wizard.py +++ b/account_financial_report/wizard/general_ledger_wizard.py @@ -187,6 +187,7 @@ class GeneralLedgerReportWizard(models.TransientModel): def _onchange_account_type_ids(self): if self.account_type_ids: self.account_ids = self.env['account.account'].search([ + ('company_id', '=', self.company_id.id), ('user_type_id', 'in', self.account_type_ids.ids)]) else: self.account_ids = None