コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
9618 ビュー

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.

アバター
破棄
関連投稿 返信 ビュー 活動
4
5月 24
7096
1
7月 23
2284
3
6月 23
3153
4
6月 22
4833
3
4月 22
5454