도움말

1

Odoo 11 - datetime picker options - minutes step

Avatar
Volodymyr

Hey everybody,

I have a datetime field and would like it to have time picker with step minutes of 15 minutes.

Date picker is fine, but when it comes to time - it shows time picker with 3 fields: hours, minutes and seconds

I need it to have only hours and minutes - and minutes should have stepping of 15 minutes.

Screenshot: https://ibb.co/5h25fv0

I've tried:

options="{'datepicker': {'step': 15}}"

options="{'datepicker': {'minuteStepping': 15}}"

It didn't work. 

I've installed:\ https://apps.odoo.com/apps/modules/11.0/web_widget_datepicker_options/

Please help - how to make usable datetime picker with date picker + time picker (hours, minutes only, and 15 minutes stepping)?

Thanks so much in advance!

Avatar
Discard