Skip to content
Advertisement

Tag: odoo

Get access to other elements from widget inside form view

Odoo 13. I got two float fields: time_given and timer. I have created a widget for ‘timer’ field. My widget works as real-time clock or some sort of timer. The problem I have encountered is that I want to change the style of ‘time_given’ field based on the following condition: ((time_given – timer) <= 30 sec) i.e less than 30

Advertisement