Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
17412 Widoki

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 :)

Awatar
Odrzuć
Autor

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

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

looking forward to your success.

Autor

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.

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

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.

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

@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

Autor Najlepsza odpowiedź

Mohammed Barsi created this nice patch

And i am going to share my rtl.css.

Solved, thank you!

Awatar
Odrzuć

Great work Obay, under testing..%

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.

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...

Najlepsza odpowiedź

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
mar 15
9673
1
mar 15
10505
0
mar 15
3734
2
lip 25
1259
1
maj 25
780