Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
2202 Vizualizări
Imagine profil
Abandonează
Cel mai bun răspuns

you can use float_time widget, in combination with fields.float

 

add the field like this:

'duration': fields.float('Duration (in hours)'),

AND ALSO ADD THE FIELD IN VIEW

<field name="duration" widget="float_time"/>

 

it is been answered on stackoverflow, I don't know whether we can Share the Links of other sites here, so I just provided the code I know and Also I have found in the trusted resources.

Imagine profil
Abandonează