In this article I am going to show you how to create countdown timer custom widget in Odoo8. To create time counter or countdown timer in Odoo we are going to use JavaScript.
How to Create Countdown Timer Custom Widget in Odoo
Follow below steps to create timer widget:
- Create models|class to hold start_date, deadline_date and duration
- Create form view to show countdown timer
- Create JavaScript file for custom widget under static/src/js folder to show countdown timer
5 Comments
Thanks for de interesting widget. I try to implement but I can't, please you can to send me the code that the example. I have error on js file (I am not very familiar with odoo js). Please, thanks and I hope your answer.
ReplyDeleteThanks for ur comment, can u please share your code here
Deletecan use this in odoo 14?
ReplyDeleteI think the answer is no, Because Odoo14 uses different JS syntax
DeleteBut you can use the same logic for latest versions of odoo
Delete