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

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


Avatar
Annuleer
Auteur Beste antwoord

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

Avatar
Annuleer

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

Beste antwoord

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.

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
jun. 20
5050
1
jan. 20
5309
1
nov. 19
6053
2
dec. 18
4525
5
nov. 18
8194