Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
6149 Zobrazení

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[0],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)

Avatar
Zrušit

that module is very obsolete and probably never worked correctly. you can use sale_order_webkit from camptocamp instead: http://bazaar.launchpad.net/~sale-core-editors/sale-reports/6.1/files

Related Posts Odpovědi Zobrazení Aktivita
2
bře 15
10616
0
bře 15
3334
1
čvn 24
4208
5
čvn 23
35313
1
pro 23
19183