Skip to content

Commit

Permalink
[FIX] l10n_it_riba: remove account and journal domain
Browse files Browse the repository at this point in the history
  • Loading branch information
odooNextev authored and sergiocorato committed Jan 17, 2025
1 parent ce388d4 commit 9352cdf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions l10n_it_ricevute_bancarie/models/riba_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ class RibaConfiguration(models.Model):
"account.account",
"A/C Bank Account",
check_company=True,
domain="[('company_id', '=', company_id), ('internal_type', '=', 'liquidity')]",
)
bank_expense_account_id = fields.Many2one("account.account", "Bank Fees Account")
unsolved_journal_id = fields.Many2one(
Expand All @@ -79,7 +78,6 @@ class RibaConfiguration(models.Model):
"account.account",
"Past Due Bills Account",
check_company=True,
domain="[('company_id', '=', company_id), ('internal_type', '=', 'receivable')]",
)
protest_charge_account_id = fields.Many2one(
"account.account",
Expand Down
2 changes: 0 additions & 2 deletions l10n_it_ricevute_bancarie/wizard/wizard_unsolved.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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(
Expand Down

0 comments on commit 9352cdf

Please sign in to comment.