0

我已经从 prd 设计器创建了一个简单的发票报告并保存。

现在我尝试从 openerp 打印报告。我为此报告创建了一个动作并打印。遇到这个错误:

Traceback (most recent call last):
  File "/home/monod/openerp/7/server/openerp/service/web_services.py", line 712, in go
    (result, format) = obj.create(cr, uid, ids, datas, context)
  File "/home/monod/openerp/7/addons/pentaho_reports/core.py", line 160, in create
    return report_instance.execute()
  File "/home/monod/openerp/7/addons/pentaho_reports/core.py", line 99, in execute
    return self.execute_report()
  File "/home/monod/openerp/7/addons/pentaho_reports/core.py", line 120, in execute_report
    proxy_parameter_info = proxy.report.getParameterInfo(proxy_argument)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
    response.msg,
ProtocolError: <ProtocolError for localhost:8080/pentaho-reports-for-openerp: 404 Not Found>
4

1 回答 1

0

这意味着您的 openerp 参数中配置的 url 与服务器报告的 url 不匹配。该模块提供了一个小型报表服务器 - 由命令 ant 运行时执行。

于 2013-04-12T11:05:02.837 回答