Initial commit: Odoo 18.0-20251222 extra-addons
This commit is contained in:
14
account_move_tier_validation/models/tier_definition.py
Normal file
14
account_move_tier_validation/models/tier_definition.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# Copyright <2020> PESOL <info@pesol.es>
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl)
|
||||
|
||||
from odoo import api, models
|
||||
|
||||
|
||||
class TierDefinition(models.Model):
|
||||
_inherit = "tier.definition"
|
||||
|
||||
@api.model
|
||||
def _get_tier_validation_model_names(self):
|
||||
res = super()._get_tier_validation_model_names()
|
||||
res.append("account.move")
|
||||
return res
|
||||
Reference in New Issue
Block a user