server-ux/base_tier_validation_forward/models/tier_definition.py

14 lines
388 B
Python
Raw Normal View History

2024-10-01 05:56:39 +00:00
# Copyright 2020 Ecosoft Co., Ltd. (http://ecosoft.co.th)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from flectra import fields, models
class TierDefinition(models.Model):
_inherit = "tier.definition"
has_forward = fields.Boolean(
string="Allow Forward",
default=False,
help="Allow option to 'Forward' to different person.",
)