From 66f773fb05a968e629a3cd8ffec81f3597bdd44e Mon Sep 17 00:00:00 2001 From: odooNextev Date: Mon, 5 Feb 2024 17:06:18 +0100 Subject: [PATCH] [FIX] l10n_it_riba: remove account and journal domain --- l10n_it_riba/models/riba_config.py | 1 - l10n_it_riba/readme/CONTRIBUTORS.rst | 1 + l10n_it_riba/wizard/wizard_past_due.py | 2 -- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/l10n_it_riba/models/riba_config.py b/l10n_it_riba/models/riba_config.py index 989148962c5b..2f527b8ff67a 100644 --- a/l10n_it_riba/models/riba_config.py +++ b/l10n_it_riba/models/riba_config.py @@ -71,7 +71,6 @@ class RibaConfiguration(models.Model): overdue_effects_account_id = fields.Many2one( "account.account", "Past Due Bills Account", - domain=[("account_type", "=", "asset_receivable")], ) protest_charge_account_id = fields.Many2one( "account.account", "Protest Fee Account" diff --git a/l10n_it_riba/readme/CONTRIBUTORS.rst b/l10n_it_riba/readme/CONTRIBUTORS.rst index 9c4683bbfedf..cbe6db590583 100644 --- a/l10n_it_riba/readme/CONTRIBUTORS.rst +++ b/l10n_it_riba/readme/CONTRIBUTORS.rst @@ -13,3 +13,4 @@ * `Aion Tech `_: * Simone Rubino +* Nextev Srl diff --git a/l10n_it_riba/wizard/wizard_past_due.py b/l10n_it_riba/wizard/wizard_past_due.py index 7cf4216b41d1..15b5d09b9996 100644 --- a/l10n_it_riba/wizard/wizard_past_due.py +++ b/l10n_it_riba/wizard/wizard_past_due.py @@ -65,7 +65,6 @@ def _get_bank_expense_account_id(self): effects_account_id = fields.Many2one( "account.account", "Bills Account", - domain=[("account_type", "=", "asset_receivable")], default=_get_effects_account_id, ) effects_amount = fields.Float("Bills Amount", default=_get_effects_amount) @@ -76,7 +75,6 @@ def _get_bank_expense_account_id(self): overdue_effects_account_id = fields.Many2one( "account.account", "Past Due Bills Account", - domain=[("account_type", "=", "asset_receivable")], default=_get_overdue_effects_account_id, ) overdue_effects_amount = fields.Float(