Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
9626 Переглядів

Hi,

I am new to Odoo 12 web development

I am trying to add jquery.min.js to my web page, in order to use another jQuery module. But once i add the jquery.min.js the related button is being disabled and i cannot click it. How can i add the jquery.min.js file to my project. 

Here how I add the jquery files.

<xpath expr="//script[last()]" position="after">            
<script type="text/javascript" src="/alsayyed_filter/static/src/js/jquery-3.4.1.min.js"/>
<script type="text/javascript" src="/alsayyed_filter/static/src/js/jquery.multiselect.js"/>            
<script type="text/javascript" src="/alsayyed_filter/static/src/js/custom_filters.js"/>                    
</xpath>

Аватар
Відмінити
Автор

Thanks Jigar...

Найкраща відповідь

jQuery lib is already available in Odoo in every page. You don't need to add it manually.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
4
трав. 24
7113
1
лип. 23
2286
3
черв. 23
3157
4
черв. 22
4839
3
квіт. 22
5456