Odoo Help


Web UI RTL Support Workaround.

Obay Albadri
on 3/7/13, 8:53 AM 6,230 views

I am trying to create a workaround to enable RTL (Right-To-Left) support in web UI (and not reports), It seems that there is no solution for this issue, So i made CSS file to adjust UI direction.

My question is: is there is any way to inject this file based on the current language direction, if so what is the best way to do this.

I am a web developer, new to openERP world! I hope i didn't miss something :)

M. Barsi made this fix for reports : https://github.com/barsi/openerp-rtl

Obay Albadri
on 3/7/13, 8:56 AM

We are really in need for this feature to work, I wish you the best with mission..%

Smart Way Business Solutions, Anas Taji
on 3/7/13, 3:34 PM

looking forward to your success.

omar bajunaid
on 3/10/13, 4:09 AM

Some friend told me that there is no need to do such workaround, it can be done easily in OpenERP core, but it seems no one cares about it.

Obay Albadri
on 3/20/13, 6:18 AM

Any one solve the problem of the RTL for web clients.

Emmad Saadeh
on 7/26/13, 8:31 PM

I solved this by editing the main css files but it is not recommended to do so. I can share the final css file. There is one other solution,you can add my css file in one of your modules and overwrite every css class.

Omid Rezvani
on 8/26/13, 4:46 AM

I can change the user interface to be rtl ( the side menu will be in the right) by adding (direction: rtl;) to css class (openerp) in base.css file (addons\web\static\src\css\base.css),

but I want this to work with change lang selection from english and arabic and vs

any one can suggest the solution ???

many thanks

ahmed hegazy
on 4/16/14, 1:11 AM

@ahmad hegazy We have what you miss about the direction based on the selected language. If you are welling to join and help even make this better, please contact me anas.taji@smartway-jo.com

Smart Way Business Solutions, Anas Taji
on 4/22/14, 12:20 PM
Obay Albadri
On 6/4/13, 10:23 AM

Mohammed Barsi created this nice patch

And i am going to share my rtl.css.

Solved, thank you!

Great work Obay, under testing..%

Smart Way Business Solutions, Anas Taji
on 6/6/13, 10:33 PM

But you didn't tell how to make injection for both the all.patch and the rtl.css files and make them work. for example I have OpenERP 7 installed in windows 7 all-in-one setup, how to install the files on it?? clarification appreciated.

Abdelmgeed Khalil
on 8/17/13, 6:55 AM

Mr.Obay ... how to use or inject the rtl.css file in openerp7.0 , i followed the patches created by Mr.Mohammed Barsi but where to place the rtl.css file...

Hiba Osama Mohamed Zaki
on 11/6/13, 5:07 AM
Mohamed Hagag
On 4/29/14, 7:53 AM

is there any patch for OE8 ?

Also would like to tell that the CSS code should be appended to the base.css file as many people asking about where to add this.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

4 follower(s)


Asked: 3/7/13, 8:53 AM
Seen: 6230 times
Last updated: 3/16/15, 8:10 AM