Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I am trying to create my first report using OpenOffice extension. I can connect to my modules and loop through them but each time I try to export to RML I get errors, even with a simple text only (no OpenERP fields)
The error is:
2013-06-22 16:44:56,544 4390 ERROR openerp3 openerp.netsvc: Argument 'element' has incorrect type (expected lxml.etree._Element, got NoneType)
I am wondering if after installing the extension and the app into OpenERP there is anything else I need to install in order to be able to make the conversion from the sxw to rml.
Any tip much appreciated!
You can convert your .sxw file into .rml file by the help of
openerp_sxw2rml. You can find it in
Create a simple .sxw file. No loops or no programming code in it. Just simple title of report.
Go to terminal & go to
openerp_sxw2rmlmodule path. Then write below command
python openerp_sxw2rml.py your_sxw_file_path your_rml_file_path
here, your_rml_file_path is to create .rml file of your desired path.
Now your .rml file is ready. Now you just need to create report tag in report.xml file
<report auto="False" id="report_id" menu="True" model="object.object" name="report_name" rml="your_rml_path" string="Your Report String"/>
Now just restart the server and update your module. Then you can see your report in your object form view shortcut, the object you've specified in your
Hope now your report will work.
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 6/22/13, 2:49 PM|
|Seen: 2103 times|
|Last updated: 3/16/15, 8:10 AM|