Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
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.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 7/22/14, 2:40 AM|
|Seen: 545 times|
|Last updated: 3/16/15, 8:10 AM|