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 1 year 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

Hi @Yajo, some modules you are maintaining are being modified, check this out!

OCA-git-bot avatar May 10 '24 13:05 OCA-git-bot

@yajo can you check and validate? Thanks a lot

imlopes avatar Nov 01 '24 12:11 imlopes

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.

OCA-git-bot avatar Nov 04 '24 10:11 OCA-git-bot

Congratulations, your PR was merged at f3f4f15daae40a8ade02d4c376ffb89a0f7c6221. Thanks a lot for contributing to OCA. ❤️

OCA-git-bot avatar Nov 04 '24 10:11 OCA-git-bot

Please fw-port it to 17.0

pedrobaeza avatar Nov 04 '24 11:11 pedrobaeza