[FIX] Missing company domain
parent
38aa71fe9d
commit
131f9dc162
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue