Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
6033 Visualizzazioni

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
Abbandona

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

Post correlati Risposte Visualizzazioni Attività
2
mar 15
10523
0
mar 15
3180
1
giu 24
4208
5
giu 23
34811
1
dic 23
18939