web icon indicating copy to clipboard operation
web copied to clipboard

[16.0][FIX] web_calendar_slot_duration: fixing behavior on slot duration

Open imlopes opened this issue 9 months ago • 1 comments

Convert all to float : if we use a context like {'calendar_slot_duration': '01:30:00'} we will have on the backend a duration of 10 hour and 30 minutes instead of 1 hour and 30 minutes

image

And using a slot_duration > 1 hour, the calendar view will be adapted to the slot duration but has not a good presentation. So I'm adding a possibility to adapt or not the calendar view using adapt_view_to_slot_duration on the context too.

imlopes avatar May 10 '24 13:05 imlopes