MatsLindh

4

votes
1

answer
963

views

Odoo 10: Change datetime picker options for a field

This is with Odoo 10 and the default bootstrap-datetimepicker. I have a field in my view that has a 'Start of event' datetime. I'd like the date picker that shows up to work in 5 minute intervals (minuteStepping: 5) and to show the time picker along with the date picker (sideBySide: true). I've con...
MatsLindh
2

votes
2

answer
43

views

Detect if route is not outermost / wrong “order” of decorators in Flask

Since the @route decorator has to register the view with the current callback given to the decorator, it has to be the outermost decorator to receive the correct function to invoke when handling a request. This creates a possible situation where a view has been decorated, but since the decorators ar...
MatsLindh
1

votes
3

answer
565

views

Link directly to a notebook page in a view

I have an view that extends the current project view, where we add multiple tabs (notebook pages) to show information from other parts of a project. One of these pages is an overview page that summarizes what is under the other tabs, and I'd like to link the headlines for each section directly to ea...
MatsLindh