From ec5d85dd58e5f7e3101918dda41d6bb705cbf809 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= <9664676+pengyuthon@user.noreply.gitee.com> Date: Fri, 12 Dec 2025 10:37:54 +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_will_task/models/inherit_room_booking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yuthon_will_task/models/inherit_room_booking.py b/yuthon_will_task/models/inherit_room_booking.py index acf57195f..09a60a198 100644 --- a/yuthon_will_task/models/inherit_room_booking.py +++ b/yuthon_will_task/models/inherit_room_booking.py @@ -25,7 +25,7 @@ class InheritRoomBooking(models.Model): start_datetime = new_record.start_datetime start_date = start_datetime.date() request_hour_from = get_hour_selection(new_record.start_datetime) - request_hour_to = get_hour_selection(new_record.end_datetime) + request_hour_to = get_hour_selection(new_record.stop_datetime) self.env['yuthon.will.task'].sudo().create({ 'name': new_record.name, 'users_ids': [(6, 0, new_record.room_users_ids.ids)],