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

500 Internal server error on shop/payment page

By
Sankar
on 2/12/16, 8:07 AM 675 views

HI,

   I have successfully installed odoo 8 and got following error on payment page .

Any help would be appreciated !.


Error message:

Template u'account.view_account_analytic_line_form' not found
Traceback (most recent call last):
  File "/chroot/home/odoo/odoo/addons/website/models/ir_http.py", line 199, in _handle_exception
    response = super(ir_http, self)._handle_exception(exception)
  File "/chroot/home/odoo/odoo/openerp/addons/base/ir/ir_http.py", line 145, in _handle_exception
    return request._handle_exception(exception)
  File "/chroot/home/odoo/odoo/openerp/http.py", line 666, in _handle_exception
    return super(HttpRequest, self)._handle_exception(exception)
  File "/chroot/home/odoo/odoo/openerp/addons/base/ir/ir_http.py", line 171, in _dispatch
    result = request.dispatch()
  File "/chroot/home/odoo/odoo/openerp/http.py", line 684, in dispatch
    r = self._call_function(**self.params)
  File "/chroot/home/odoo/odoo/openerp/http.py", line 310, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/chroot/home/odoo/odoo/openerp/service/model.py", line 118, in wrapper
    return f(dbname, *args, **kwargs)
  File "/chroot/home/odoo/odoo/openerp/http.py", line 307, in checked_call
    return self.endpoint(*a, **kw)
  File "/chroot/home/odoo/odoo/openerp/http.py", line 803, in __call__
    return self.method(*args, **kw)
  File "/chroot/home/odoo/odoo/openerp/http.py", line 403, in response_wrap
    response = f(*args, **kw)
  File "/chroot/home/odoo/odoo/addons/website_sale/controllers/main.py", line 708, in payment
    context=render_ctx)
  File "/chroot/home/odoo/odoo/openerp/api.py", line 256, in wrapper
    return old_api(self, *args, **kwargs)
  File "/chroot/home/odoo/odoo/addons/payment/models/payment_acquirer.py", line 271, in render
    return self.pool['ir.ui.view'].render(cr, uid, acquirer.view_template_id.xml_id, qweb_context, engine='ir.qweb', context=context)
  File "/chroot/home/odoo/odoo/openerp/api.py", line 256, in wrapper
    return old_api(self, *args, **kwargs)
  File "/chroot/home/odoo/odoo/addons/website/models/ir_ui_view.py", line 173, in render
    return super(view, self).render(cr, uid, id_or_xml_id, values=values, engine=engine, context=context)
  File "/chroot/home/odoo/odoo/openerp/api.py", line 256, in wrapper
    return old_api(self, *args, **kwargs)
  File "/chroot/home/odoo/odoo/openerp/addons/base/ir/ir_ui_view.py", line 1017, in render
    return self.pool[engine].render(cr, uid, id_or_xml_id, qcontext, loader=loader, context=context)
  File "/chroot/home/odoo/odoo/openerp/api.py", line 256, in wrapper
    return old_api(self, *args, **kwargs)
  File "/chroot/home/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 263, in render
    return self.render_node(self.get_template(id_or_xml_id, qwebcontext), qwebcontext)
  File "/chroot/home/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 200, in get_template
    raise QWebTemplateNotFound("Template %r not found" % name, template=origin_template)
QWebTemplateNotFound: Template u'account.view_account_analytic_line_form' not found

1

zbik

--zbik--
5941
| 6 4 7
Lodz, Poland
--zbik--


zbik
On 2/12/16, 9:17 AM

You go to view of your payment acquirer and verify name of "Form Button Template" - probably is badly set (correct template name, for example: "transfer_acquirer_button").

Thanks, Problem fixed by reinstalling payment acquire module

Sankar
on 2/12/16, 9:54 AM

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/12/16, 8:07 AM
Seen: 675 times
Last updated: 2/12/16, 9:54 AM