From aa4d9b19a0eb20f93a90c32d957557bbba560aa8 Mon Sep 17 00:00:00 2001 From: zhouzhou <123@qq.com> Date: Mon, 18 Nov 2024 17:42:38 +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.py | 3 --- .../models/yuthon_duty_arrangement.py | 5 ++++- .../views/yuthon_duty_arrangement_views.xml | 5 +++-- yuthon_hr_employee/models/yuthon_hr_employee.py | 17 ++++++++++++++++- 4 files changed, 23 insertions(+), 7 deletions(-) diff --git a/yuthon_holiday/models/inherit_hr_leave.py b/yuthon_holiday/models/inherit_hr_leave.py index 8ed958cb8..cf4777446 100644 --- a/yuthon_holiday/models/inherit_hr_leave.py +++ b/yuthon_holiday/models/inherit_hr_leave.py @@ -109,9 +109,6 @@ class HolidaysRequestBatch(models.Model): 'res_model': 'holiday.detail.wizard', 'view_mode': 'form'} - def put_modify_days(self): - pass - @api.onchange('leave_line_ids') def _onchange_name(self): if self.leave_line_ids: diff --git a/yuthon_hr_attendance/models/yuthon_duty_arrangement.py b/yuthon_hr_attendance/models/yuthon_duty_arrangement.py index 4938d7b0f..5336f93dc 100644 --- a/yuthon_hr_attendance/models/yuthon_duty_arrangement.py +++ b/yuthon_hr_attendance/models/yuthon_duty_arrangement.py @@ -46,4 +46,7 @@ class YuthonDutyArrangement(models.Model): @api.onchange('duration') def bottom_auto_schedule(self): - pass \ No newline at end of file + pass + + def bottom_adjustment(self): + pass diff --git a/yuthon_hr_attendance/views/yuthon_duty_arrangement_views.xml b/yuthon_hr_attendance/views/yuthon_duty_arrangement_views.xml index b65409616..4ca727c63 100644 --- a/yuthon_hr_attendance/views/yuthon_duty_arrangement_views.xml +++ b/yuthon_hr_attendance/views/yuthon_duty_arrangement_views.xml @@ -17,6 +17,7 @@ +