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.