Sunday, August 31, 2014

Odoo RTL (Right to Left) support

On 14 Aug 2014, Odoo version 8.0RC was released, this version comes with a lot of cool new features as you seen on Opendays. since then, I started developing odoo-rtl project, an RTL support for Odoo that covers the main three modules that require RTL support:

  1. backend (the original OpenERP backend).
  2. the new report module.
  3. the new frontend (website module).

Demo:


Odoo V8.0 Backend RTL <--> LTR support

and here is the a sample Quotation report with RTL ... LTR layout:

A sample report with RTL support

the same report with LTR layout


for now, I built three basic modules every one of them covers a specific functionality/feature:
  • web_rtl is the base module that for backend RTL support.
  • report_rtl PDF reports RTL support.
  • website_rtl RTL support for website module. 

extract the zip file and follow README.md instructions.

Features


  • Easy install, and uninstall when needed.
  • No need to rewrite reports, all standard reports are automatically adjusted to RTL.
  • Respect target language layout, if you're using LTR language and  print a SO report for a customer using RTL language, it'll be printed as RTL.



P.S.  your feedback is important, if there is something missing or not clear, don't hesitate to post an issue at github or drop a comment or contact me by email.

Regards.

12 comments:

  1. hi Mohammed Barsi , i tried this solution but it dosn't work for me , i am having the latest stable odoo 8

    ReplyDelete
  2. Dear Mohammed

    I installed the subject modules, they all work fine.

    However, Workflow node presentation/layout was disrupted.

    Thanks for your great effort. God bless you

    ReplyDelete
  3. Dear Mohammad, I would like to thanks you for these amazing modules, They saved a lot of my time.
    Everything is perfect except some issues ( shown in pictures below ) :

    @ Workflow path in all pages ( http://www.nahedh.com/download/odoo/bug1.png ).
    @ Quick note or task icon in Kanban view ( http://www.nahedh.com/download/odoo/bug2.png ).
    @ Charts icon ( http://www.nahedh.com/download/odoo/bug3.png ).

    Thank you again and again.
    Regards,,
    -----------
    Nahedh Alharbi

    ReplyDelete
  4. Thank you Dear so much, It's really helpful.

    ReplyDelete
  5. I install and I cannot access to my backend, This page can’t be displayed, because this site’s server might be under maintenance or there could be a programming error.

    ReplyDelete
  6. i havd a problem with icons
    icons disapeared

    ReplyDelete
  7. there are an update rtl version to odoo v9 ?

    ReplyDelete
  8. to to solve the same issue for odoo 13 ce
    RTL backend,

    ReplyDelete