diff options
| -rw-r--r-- | addons/account/models/account_journal.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/account/models/account_journal.py b/addons/account/models/account_journal.py index 819543fd251..f3d88c71d06 100644 --- a/addons/account/models/account_journal.py +++ b/addons/account/models/account_journal.py @@ -67,7 +67,7 @@ class AccountJournal(models.Model): comodel_name='account.account', check_company=True, copy=False, ondelete='restrict', string='Default Account', domain="[('deprecated', '=', False), ('company_id', '=', company_id)," - "('user_type_id', '=', default_account_type)," + "'|', ('user_type_id', '=', default_account_type), ('user_type_id', 'in', type_control_ids)," "('user_type_id.type', 'not in', ('receivable', 'payable'))]") payment_debit_account_id = fields.Many2one( comodel_name='account.account', check_company=True, copy=False, ondelete='restrict', |
