Odoo Help

0

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

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

Hello,

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?

Thanks,

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

Did you ever figure out a solution? I found that if I install my custom module before the Website module my fields.date works fine. If I have the web app installed before it doesn't work.

C S
on 2/1/17, 10:19 AM

Because the problem was only in admin, I don't try to figure out. Thanks for your answer. I'm gonna try.

Thanks

Evans Bernier
on 2/1/17, 1:19 PM

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

Question tools

1 follower(s)

Stats

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