콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
9603 화면

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
7075
1
7월 23
2278
3
6월 23
3148
4
6월 22
4827
3
4월 22
5447