From 5145e8a136943e57acd0567bf17c2f7cc4cf98af Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Mon, 24 Feb 2025 10:04:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_holiday/models/inherit_hr_leave_type.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())