Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

RML Preview header/footer problem, External ID not found (odoo v8)

By
Jerome Möckel
on 2/27/16, 10:08 AM 393 views

Under: Edit Company Data > Report Configuration > Configuration (RML)

I'm trying to use the preview Header/footer button, but it didn't work. What is wrong with my External_ID?

Traceback (most recent call last):

File "/usr/lib/python2.7/dist-packages/openerp/addons/website/models/ir_http.py", line 199, in _handle_exception

response = super(ir_http, self)._handle_exception(exception)

File "/usr/lib/python2.7/dist-packages/openerp/addons/base/ir/ir_http.py", line 145, in _handle_exception

return request._handle_exception(exception)

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 666, in _handle_exception

return super(HttpRequest, self)._handle_exception(exception)

File "/usr/lib/python2.7/dist-packages/openerp/addons/base/ir/ir_http.py", line 171, in _dispatch

result = request.dispatch()

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 684, in dispatch

r = self._call_function(**self.params)

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 310, in _call_function

return checked_call(self.db, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 118, in wrapper

return f(dbname, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 307, in checked_call

return self.endpoint(*a, **kw)

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 803, in __call__

return self.method(*args, **kw)

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 403, in response_wrap

response = f(*args, **kw)

File "/usr/lib/python2.7/dist-packages/openerp/addons/report/controllers/main.py", line 62, in report_routes

html = report_obj.get_html(cr, uid, docids, reportname, data=options_data, context=context)

File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 250, in wrapper

partner_record = recs.find_partner(arg)

File "/usr/lib/python2.7/dist-packages/openerp/addons/report/models/report.py", line 176, in get_html

return self.render(cr, uid, [], report.report_name, docargs, context=context)

File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 250, in wrapper

partner_record = recs.find_partner(arg)

File "/usr/lib/python2.7/dist-packages/openerp/addons/report/models/report.py", line 152, in render

return view_obj.render(cr, uid, template, values, context=context)

File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 250, in wrapper

partner_record = recs.find_partner(arg)

File "/usr/lib/python2.7/dist-packages/openerp/addons/website/models/ir_ui_view.py", line 166, in render

File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 248, in wrapper

File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 565, in new_api

return upgrade(self, result, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/openerp/addons/website/models/website.py", line 283, in get_template

model, view_id = request.registry["ir.model.data"].get_object_reference(cr, uid, module, xmlid)

File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 250, in wrapper

partner_record = recs.find_partner(arg)

File "/usr/lib/python2.7/dist-packages/openerp/addons/base/ir/ir_model.py", line 943, in get_object_reference

#search on id found in result to check if current user has read access right

File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 250, in wrapper

partner_record = recs.find_partner(arg)

File "<string>", line 2, in xmlid_lookup

File "/usr/lib/python2.7/dist-packages/openerp/tools/cache.py", line 74, in lookup

value = d[key] = self.method(*args, **kwargs)

File "/usr/lib/python2.7/dist-packages/openerp/addons/base/ir/ir_model.py", line 901, in xmlid_lookup

ValueError: External ID not found in the system: preview.report

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 2/27/16, 10:08 AM
Seen: 393 times
Last updated: 2/27/16, 11:44 AM