Skip to Content
Menu
This question has been flagged
2650 Views

Hi All,

I am using Odoo 7. I am trying to prepare a report similar to sale order report. While I am trying to download that report I am getting the following error. Please help me with a solution.




In terminal:

2017-01-31 04:23:57,801 31515 ERROR local_test openerp.service.web_services: Exception: u'report.declaration'Traceback (most recent call last):

  File "/home/nf/openerp/openerp/service/web_services.py", line 711, in go obj = netsvc.LocalService('report.'+object) File "/home/nf/openerp/openerp/netsvc.py", line 98, in LocalService return Service._services[name]KeyError: u'report.declaration'2017-01-31 04:23:58,052 31515 ERROR local_test openerp.netsvc: report.declaration(<type 'exceptions.KeyError'>, KeyError(u'report.declaration',), <traceback object at 0x7efec4b28bd8>)Traceback (most recent call last):

  File "/home/nf/openerp/openerp/netsvc.py", line 296, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/home/nf/openerp/openerp/service/web_services.py", line 654, in dispatch res = fn(db, uid, *params) File "/home/nf/openerp/openerp/service/web_services.py", line 760, in exp_report_get return self._check_report(report_id) File "/home/nf/openerp/openerp/service/web_services.py", line 738, in _check_report netsvc.abort_response(exc, exc.message, 'warning', exc.traceback) File "/home/nf/openerp/openerp/netsvc.py", line 71, in abort_response raise openerp.osv.osv.except_osv(description, details)except_osv: (u'report.declaration', (<type 'exceptions.KeyError'>, KeyError(u'report.declaration',), <traceback object at 0x7efec4b28bd8>))

Avatar
Discard