Browse Source

[FIX] Missing company domain

pull/653/head
Iván Todorovich 5 years ago
parent
commit
131f9dc162
  1. 1
      account_financial_report/wizard/general_ledger_wizard.py

1
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

Loading…
Cancel
Save