mirror of
https://gitlab.com/flectra-community/partner-contact.git
synced 2024-11-14 10:12:05 +00:00
15 lines
404 B
Python
15 lines
404 B
Python
# Copyright 2019 Open Source Integrators
|
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
|
|
|
from flectra 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("res.partner")
|
|
return res
|