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

i want to change this line 

body{direction: ltr;}

to 

body{direction: rtl;}


because RTL not working in odoo12 or didn't applied in the files


How can i do that please ? i searched for the file web.assets_frontend.0.css but didn't found it, i find out that it's in bundle 

so how can i modify the code of it ?

is it in 

/website/static/src/scss/website.ui.scss

?


Thank you


아바타
취소
작성자 베스트 답변

i'm asking about web.assets_frontend.0.css file not js files

아바타
취소

its same odoo create assets bundle for both js and css so start odoo in debug assets mode by adding debug=assets in url

베스트 답변

for speed improve, loading odoo does minify all the javascript resources to assets bundle and server to a browser.
if you load odoo in debug=assets mode you can see all the javascript files without assets bundle.
when you change any javascript file it re-generate assets bundle so make sure you clear browser cache 

ref:  https://odoo-development.readthedocs.io/en/latest/odoo/usage/debug-assets-mode.html
https://chrome.google.com/webstore/detail/odoo-debug/hmdmhilocobgohohpdpolmibjklfgkbi?hl=en

Note: I don't think RTL not working in odoo12 and also I didn't check where the mentioned code located.

아바타
취소
관련 게시물 답글 화면 활동
1
6월 20
5073
1
1월 20
5330
1
11월 19
6063
2
12월 18
4526
5
11월 18
8199