diff --git a/yuthon_holiday/models/inherit_hr_leave_type.py b/yuthon_holiday/models/inherit_hr_leave_type.py index 1e6a909f1..1297f7fb2 100644 --- a/yuthon_holiday/models/inherit_hr_leave_type.py +++ b/yuthon_holiday/models/inherit_hr_leave_type.py @@ -7,7 +7,7 @@ class HrLeaveType(models.Model): leave_documents_id = fields.Many2many('ir.attachment', string="假期详细说明") duration_calculation = fields.Float(string="时长计算") - request_unit = fields.Selection([('calendar', '自然日'), ('working','工作日'), ('hour', '小时'), ('half_day', '半天')], string="请假单位", default='hour') + request_unit = fields.Selection([('day', '天'), ('hour', '小时'), ('half_day', '半天')], string="请假单位", default='hour') employee_requests = fields.Selection([('yes', '允许的额外天数要求'), ('no', '不允许')], string='员工要求', default='yes') allocation_validation_type = fields.Selection(defalt='no') start_date = fields.Date(string="生效日期", default=fields.Date.today())