[16.0][FIX] web_calendar_slot_duration: fixing behavior on slot duration
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
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.
Hi @Yajo, some modules you are maintaining are being modified, check this out!
@yajo can you check and validate? Thanks a lot
Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 16.0-ocabot-merge-pr-2818-by-yajo-bump-minor, awaiting test results.
Congratulations, your PR was merged at f3f4f15daae40a8ade02d4c376ffb89a0f7c6221. Thanks a lot for contributing to OCA. ❤️
Please fw-port it to 17.0