server-ux/base_tier_validation_forward/models/tier_definition.py

14 lines
388 B
Python
Raw Normal View History

2021-03-23 19:38:33 +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.",
)