Hi all, I create a new report in sxw format. I create the report/report_test.py file: import pooler import time from report import report_sxw
class report_test(report_sxw.rml_parse): def __init__(self, cr, uid, name, context): super(report_test, self).__init__(cr, uid, name, context) report_sxw.report_sxw('report.report_test', 'account.analytic.line', 'addons/test_module/report/report_test.rml', parser=report_test) and I add the following line to account.analytic.line XML view: <report auto="False" id="report_test" model="account.analytic.line" name="report_test" string="Analytic Line Overview" rml="test_module/report/report_test.rml" /> Then I transform sxw into rml with base_report_designer/wizard/tiny_sxw2rml/tiny_sxw2rml.py. But when I try to open new report on account.analytic.line, OpenERP returns me the following error: ERROR:web-services:[16]: Exception: u'report.report_test' ERROR:web-services:[17]: Traceback (most recent call last): ERROR:web-services:[18]: File "/usr/lib/python2.5/site-packages/openerp-server/service/web_services.py", line 682, in go ERROR:web-services:[19]: obj = netsvc.LocalService('report.'+object) ERROR:web-services:[20]: File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 69, in __init__ ERROR:web-services:[21]: self._service = SERVICES[name] ERROR:web-services:[22]: KeyError: u'report.report_test' Someone can help me ? Someone has a solution ? I have already done this operation for a new partner report and invoice, and for theese all work fine. Thanks in advance Zipgem -------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=57827#57827 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users
