mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
15 lines
393 B
Python
15 lines
393 B
Python
# Copyright 2022 Ecosoft Co., Ltd.
|
|
# 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(TierDefinition, self)._get_tier_validation_model_names()
|
|
res.append("agreement")
|
|
return res
|