Is there a way to remove or override base js files asseted. i want to disable some file thanks
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- 회계
- 재고 관리
- PoS
- Project
- MRP
신고된 질문입니다
1
회신
7560
화면
Yes, you can just inherit web.assets_backend and xpath target what want to remove.
Like this :
<template id="assets_common" inherit_id="web.assets_common">
<xpath expr="script[@src='/password_security/static/src/js/password_gauge.js']" position="replace"/>
<xpath expr="script[@src='/password_security/static/lib/zxcvbn/zxcvbn.min.js']" position="replace"/>
</template>
thank you!
관련 게시물 | 답글 | 화면 | 활동 | |
---|---|---|---|---|
|
1
6월 23
|
2074 | ||
|
1
5월 23
|
2020 | ||
|
1
10월 22
|
4177 | ||
|
2
7월 22
|
3138 | ||
|
0
5월 20
|
3200 |