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.
How to get sale_report_html past RML is not available at specified location or not enough data to print! (None, None, None)
I've installed sale_report_html, corrected encoding with "## -- encoding: utf-8 --", corrected the includes to "<%include file="mako_header.html"/>", corrected for "TemplateLookupException: Cant locate template for uri u'mako_header.html'" by removing the includes and now get:
RML is not available at specified location or not enough data to print (2)!
(None, None, None)
There are two "RML is not available at specified location or not enough data to print!" errors in ../service/web_services.py. I marked the one in exp_render_report() "(1)" and the one in exp_report() "(2)" so I'd know which was failing. There is more information in /var/log/openerp-server.log:
2013-03-09 13:30:10,694 18932 ERROR ? openerp.report.render.makohtml2html.makohtml2html: report : Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/report/render/makohtml2html/makohtml2html.py", line 127, in render final_html += self.format_body(etree_obj) File "/usr/lib/pymodules/python2.7/openerp/report/render/makohtml2html/makohtml2html.py", line 113, in format_body </body></html>'''%(body_list,body_list,footer,'1',len(body_list)) IndexError: list index out of range
list index out of range
2013-03-09 13:30:10,833 18932 ERROR ? openerp.netsvc: RML is not available at specified location or not enough data to print (2)! (None, None, None)
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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: 3/9/13, 9:34 AM|
|Seen: 2563 times|
|Last updated: 3/16/15, 8:10 AM|