forked from Techsystech/web
[FIX] web_calendar_slot_duration: custom event length
When we specify the date in the calendar event we should not force the duration. TT4564916.0
parent
f110ce16e4
commit
b9beddc9b5
|
@ -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
|
||||
) {
|
||||
|
|
Loading…
Reference in New Issue