CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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.
About This Community
Odoo Training Center
|Asked: 7/22/14, 2:40 AM|
|Seen: 750 times|
|Last updated: 3/16/15, 8:10 AM|