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.
I want to put time picker for a field. I dont want to use field with float type and widget=float_time. There is no validations at all. I want to pick timings in 12 hr format with PM and AM. Is it possible to do ?
May be this will helpful to you.
Take one char field in xml and give id to field.
Now add below js library in your module for time picker.
And give path in web extend from xml.(picker.time.js path)
and give this in your js file
$('#id given in xml').pickatime()
This is not full code you have to little work on it.
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: 4/17/14, 5:58 AM|
|Seen: 1194 times|
|Last updated: 8/28/15, 7:36 AM|