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 May 10, 2024
1 parent ca7762b commit 5a9fff4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions 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 @@ -58,7 +58,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 @@ -70,7 +69,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
16 changes: 16 additions & 0 deletions l10n_it_riba/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
* Lorenzo Battistini <lorenzo.battistini@agilebg.com>
* Andrea Cometa <a.cometa@apuliasoftware.it>
* Andrea Gallina <a.gallina@apuliasoftware.it>
* Davide Corio <info@davidecorio.com>
* Giacomo Grasso <giacomo.grasso@agilebg.com>
* Gabriele Baldessari <gabriele.baldessari@gmail.com>
* Alex Comba <alex.comba@agilebg.com>
* Marco Calcagni <mcalcagni@dinamicheaziendali.it>
* Sergio Zanchetta <https://github.com/primes2h>
* Simone Vanin <simone.vanin@agilebg.com>
* Sergio Corato <https://github.com/sergiocorato>
* Giovanni Serra <giovanni@gslab.it>
* `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 5a9fff4

Please sign in to comment.