diff --git a/l10n_it_ricevute_bancarie/models/riba_config.py b/l10n_it_ricevute_bancarie/models/riba_config.py index 92229b2b6ffd..a64e3fce05f7 100644 --- a/l10n_it_ricevute_bancarie/models/riba_config.py +++ b/l10n_it_ricevute_bancarie/models/riba_config.py @@ -65,7 +65,7 @@ class RibaConfiguration(models.Model): "account.account", "A/C Bank Account", check_company=True, - domain="[('company_id', '=', company_id), ('internal_type', '=', 'liquidity')]", + domain="[('company_id', '=', company_id)]", ) bank_expense_account_id = fields.Many2one("account.account", "Bank Fees Account") unsolved_journal_id = fields.Many2one( @@ -79,7 +79,7 @@ class RibaConfiguration(models.Model): "account.account", "Past Due Bills Account", check_company=True, - domain="[('company_id', '=', company_id), ('internal_type', '=', 'receivable')]", + domain="[('company_id', '=', company_id)]", ) protest_charge_account_id = fields.Many2one( "account.account", diff --git a/l10n_it_ricevute_bancarie/wizard/wizard_unsolved.py b/l10n_it_ricevute_bancarie/wizard/wizard_unsolved.py index 3a1838ace0d3..2b66c2559607 100644 --- a/l10n_it_ricevute_bancarie/wizard/wizard_unsolved.py +++ b/l10n_it_ricevute_bancarie/wizard/wizard_unsolved.py @@ -66,7 +66,6 @@ def _get_bank_expense_account_id(self): effects_account_id = fields.Many2one( "account.account", "Bills Account", - domain=[("internal_type", "=", "receivable")], default=_get_effects_account_id, ) effects_amount = fields.Float("Bills Amount", default=_get_effects_amount) @@ -77,7 +76,6 @@ def _get_bank_expense_account_id(self): overdue_effects_account_id = fields.Many2one( "account.account", "Past Due Bills Account", - domain=[("internal_type", "=", "receivable")], default=_get_overdue_effects_account_id, ) overdue_effects_amount = fields.Float(