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 committed Feb 6, 2024
1 parent ed384bc commit b20dd67
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions l10n_it_riba/models/riba_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ class RibaConfiguration(models.Model):
bank_account_id = fields.Many2one(
"account.account",
"A/C Bank Account",
domain=[("account_type", "=", "asset_cash")],
)
bank_expense_account_id = fields.Many2one("account.account", "Bank Fees Account")
past_due_journal_id = fields.Many2one(
Expand All @@ -71,7 +70,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"
Expand Down
1 change: 1 addition & 0 deletions l10n_it_riba/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
* `Aion Tech <https://aiontech.company/>`_:

* Simone Rubino <simone.rubino@aion-tech.it>
* Nextev Srl <odoo@nextev.it>
2 changes: 0 additions & 2 deletions l10n_it_riba/wizard/wizard_past_due.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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(
Expand Down

0 comments on commit b20dd67

Please sign in to comment.