mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] web_calendar_slot_duration: custom event length
When we specify the date in the calendar event we should not force the duration. TT45649
This commit is contained in:
@@ -9,6 +9,7 @@ import {patch} from "@web/core/utils/patch";
|
||||
patch(CalendarModel.prototype, "WebCalendarSlotDurationCalendarModel", {
|
||||
buildRawRecord(partialRecord, options = {}) {
|
||||
if (
|
||||
!partialRecord.end &&
|
||||
this.env.searchModel.context.calendar_slot_duration &&
|
||||
!partialRecord.isAllDay
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user