Odoo Help


$(...).datepicker is not a function for Website user without enough access rights

Evans Bernier
on 7/22/16, 3:30 PM 530 views


I created a module in frontend (Website). I have a form and some fields are dates. I try to use a datepicker, but if the user logged have no access to edit Website, I got "$(...).datepicker is not a function"on my browser console. What is the problem?


Finally I found a part of my problem. It is because jQuery.ui look is not enable with some rights. I added jquery-ui in my template. Now, it is ok for all users instead the Admin. Now the admin got this error message in browser console: $(...).zIndex is not a function

Evans Bernier
on 7/22/16, 4:14 PM

Your Answer

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 7/22/16, 3:30 PM
Seen: 530 times
Last updated: 7/22/16, 4:44 PM