Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
9508 Weergaven

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>

Avatar
Annuleer
Auteur

Thanks Jigar...

Beste antwoord

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

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
4
mei 24
6934
1
jul. 23
2222
3
jun. 23
3043
4
jun. 22
4697
3
apr. 22
5361