Sunday, December 16, 2012

OpenERP Arabic Report Now Supported on Windows


After long time suffering of OpenERP Middle East users when using OpenERP to produce clean and RTL Reports on Windows. now, I'm very proud to bring solution that ends this suffering forever.

a pure python implementation of unicode bidirection algorithm has been used for this solution. to make it cross platforms and for all openerp versions. so, there is no Fribidi will be required anymore to make openerp produce a clear reports.

we upload a short demo on youtube to see how it looks like:

This Solution will be available on with a details instructions of how to hook it into your openerp installation. so, please go and fork.

     Odoo version 8.0 is now in release candidate stage, we also developed an RTL support for it, and it covers the backend UI, the new website feature, and also reports, check it out.

Thanks and Regards.


  1. Thanks Mr. Barsi for sharing your effort, but let ask if there is any fix for this issue for web interface?

    1. hi obay,

      sorry for late reply.
      there is a patch for this bug, you can find the bug report here:

      if you're on windows and dont like to deal with patch files. I pushed a new branch on github:


  2. Thanks Mr. Barsi for all your efforts but unfortunately this didn t solve methe problem. i am using windows plateform i use version 6.0 and V 5.1 . the folder reportlab\pdfge exist only in and i find there textobject.pyo (compiled file) not the Thank you for your help

    1. hi tarik,
      wow, someone still using v5 :).

      here is a trick to make it work on v5 and v6.0, note that i'm not testing it, but as far as i remember I was used this trick on v6.0:

      1- extract
      2- replace paste on reportlab/pdfgen.
      3- delete textobject.pyo or backup it somewhere.
      4- rezip library folder.
      5- restart openerp server.


      - the version of reportlab library is not the same on v5 and v6.1 . so, this may cause an issue.
      - I think "fonts_search_path" config option is not supported on v5 (I think, try it).

      anyway, be careful if you're dealing with legacy system as the above issues may occur.
      if you're openerp developer, take a look at zipimport lib, to understand how openerp deal with file:

  3. Thank you Mr.Mohammed for this initiative