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

Print Customer Invoice - error message 'View u'account.report_invoice_ae' in website 1 not found'

By
Dermot Rooney
on 8/5/15, 10:13 PM 484 views

When I try to print a Customer Invoice I get error message  'View u'account.report_invoice_ae' in website 1 not found' (see traceback below). I created a custom invoice in QWEB (account.report_invoice_ae) and added it to the Print drop down menu. It was printing fine until I installed a website module (Website Report module I think) and subsequent this error occurred. Can anyone advise a solution please?

Error Message

View u'account.report_invoice_ae' in website 1 not found

Traceback (most recent call last):

File "/home/odoo/src/odoo/saas-6/addons/website/models/ir_http.py", line 238, in _handle_exception

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

File "/home/odoo/src/odoo/saas-6/openerp/addons/base/ir/ir_http.py", line 149, in _handle_exception

return request._handle_exception(exception)

File "/home/odoo/src/odoo/saas-6/openerp/http.py", line 677, in _handle_exception

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

File "/home/odoo/src/odoo/saas-6/openerp/addons/base/ir/ir_http.py", line 174, in _dispatch

result = request.dispatch()

File "/home/odoo/src/odoo/saas-6/openerp/http.py", line 695, in dispatch

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

File "/home/odoo/src/odoo/saas-6/openerp/http.py", line 312, in _call_function

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

File "/home/odoo/src/odoo/saas-6/openerp/service/model.py", line 113, in wrapper

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

File "/home/odoo/src/odoo/saas-6/openerp/http.py", line 309, in checked_call

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

File "/home/odoo/src/odoo/saas-6/openerp/http.py", line 814, in __call__

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

File "/home/odoo/src/odoo/saas-6/openerp/http.py", line 405, in response_wrap

response = f(*args, **kw)

File "/home/odoo/src/odoo/saas-6/addons/report/controllers/main.py", line 61, in report_routes

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

File "/home/odoo/src/odoo/saas-6/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/home/odoo/src/odoo/saas-6/addons/report/models/report.py", line 174, in get_html

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

File "/home/odoo/src/odoo/saas-6/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/home/odoo/src/odoo/saas-6/addons/website_report/report.py", line 47, in render

return super(Report, self).render(cr, uid, ids, template, values=values, context=context)

File "/home/odoo/src/odoo/saas-6/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/home/odoo/src/odoo/saas-6/addons/report/models/report.py", line 150, in render

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

File "/home/odoo/src/odoo/saas-6/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/home/odoo/src/odoo/saas-6/addons/website/models/ir_ui_view.py", line 205, in render

view_obj = request.website.get_template(id_or_xml_id)

File "/home/odoo/src/odoo/saas-6/openerp/api.py", line 239, in wrapper

return new_api(self, *args, **kwargs)

File "/home/odoo/src/odoo/saas-6/openerp/api.py", line 547, in new_api

result = method(self._model, cr, uid, self.ids, *args, **kwargs)

File "/home/odoo/src/odoo/saas-6/addons/website/models/website.py", line 405, in get_template

view_id = View.get_view_id(cr, uid, template, context=context)

File "/home/odoo/src/odoo/saas-6/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

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

File "/home/odoo/src/odoo/saas-6/openerp/tools/cache.py", line 118, in lookup

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

File "/home/odoo/src/odoo/saas-6/addons/website/models/ir_ui_view.py", line 161, in get_view_id

raise ValueError('View %r in website %r not found' % (xml_id, context['website_id']))

ValueError: View u'account.report_invoice_ae' in website 1 not found

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: 8/5/15, 10:13 PM
Seen: 484 times
Last updated: 8/5/15, 10:13 PM