Open pooyars opened 10 years ago
The compiled version must exist with the original one. I haven't that much experience with windows, however my suggestion is the following:
1 - if you are utterly sure that textobject.py is not in the directory, check out openerp's developers forum, it could be that they changed the path. However I doubt that the compiled file will be in a different directory.
2 - check your rubbish bin. It could be that you deleted by mistake.
3 - reinstall openerp.
Hope this helps.
Regards,
Disregard the last suggestion.
Hello everyone,
I came to test the "barsi/openerp-rtl" proposed and it work perfectly,
You have only to make sure to delete the textobject.pyc when you are configuring openerp at the following stage:
copy file textobject.py into:
Now, when openerp restarts, the new textobject.py will be compiled and the Arabic printing will be functionnal.
Sorry for the delay in the answer.
I am working on openerp 7 for a while and Now I am going to change rml reports(pdf) to be able to display arabic fonts correctly in reports. regarding to the solution you mentioned I followed the instruction and there is a big problem. "copy file textobject.py into:\Openerp Server \Server\server\reportlab\pdfgen" is indicating to replace textobject.py with the original one but the original one is not .py file in openerp 7 , it is a compiled one with this format "textobject.pyc" and this solution has no compiled file.
would you please help to solve this?