mirror of https://github.com/OCA/web.git
[FIX] web_calendar_slot_duration: custom event length
When we specify the date in the calendar event we should not force the duration. TT45649pull/2786/head
parent
0715192684
commit
b167da850a
|
@ -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