mirror of
https://gitlab.com/flectra-community/bank-payment.git
synced 2024-11-22 05:32:05 +00:00
16 lines
434 B
Python
16 lines
434 B
Python
# Copyright 2022 - TODAY, Marcel Savegnago <marcel.savegnago@escflectra.com.br>
|
|
# 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()._get_tier_validation_model_names()
|
|
res.append("account.payment.order")
|
|
return res
|