hr_employee_training/models/hr_training_participant_cancel_reason.py
# -*- coding: utf-8 -*-
# Copyright 2018 OpenSynergy Indonesia
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from openerp import fields, models
class HrTrainingParticipantCancelReason(models.Model):
_name = "hr.training_participant_cancel_reason"
_description = "Participant Cancel Reason"
name = fields.Char(
string="Participant Cancel Reason",
required=True,
)
active = fields.Boolean(
string="Active",
default=True,
)
note = fields.Text(
string="Note",
)