Odoo Help


SyntaxError: invalid syntax, self.styles_dom.getElementsByTagName("style:page-master").__len__()<>0:

Imran Baloch
on 1/26/15, 2:10 AM 2,001 views

Hello all I installed the odoo on my local machine on Windows 7. Then I open the command line as adminsistrator and

cd C:\Program Files (x86)\Odoo 8.0-20150123\server\openerp\addons\base_report_designer\openerp_sxw2rml.

Then I execute, 

python openerp_sxw2rml.py a.sxw > a.rml

I got this error,

File "openerp_sxw2rml.py", if self.styles_dom.getElementsByTagName("style:page-master").__len__()<>0:
SyntaxError: invalid syntax


About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 1/26/15, 2:10 AM
Seen: 2001 times
Last updated: 3/16/15, 8:10 AM