添加功能

This commit is contained in:
李鹏宇
2025-12-12 10:37:54 +08:00
parent 3be3b888a6
commit ec5d85dd58
@@ -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)],