콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

Hello everyone, can someone help me to solve this issue. When I checkout on my website, the page doesn't land on payment methods to choose from but rather an error page. I've searched up some solutions but haven't find one for my specific problem.


Here is the message it says:

Traceback (most recent call last):
  File "/home/odoo/src/odoo/17.0/odoo/http.py", line 1768, in _serve_db
    return service_model.retrying(self._serve_ir_http, self.env)
  File "/home/odoo/src/odoo/17.0/odoo/service/model.py", line 133, in retrying
    result = func()
  File "/home/odoo/src/odoo/17.0/odoo/http.py", line 1795, in _serve_ir_http
    response = self.dispatcher.dispatch(rule.endpoint, args)
  File "/home/odoo/src/odoo/17.0/odoo/http.py", line 1912, in dispatch
    return self.request.registry['ir.http']._dispatch(endpoint)
  File "/home/odoo/src/odoo/17.0/addons/website/models/ir_http.py", line 235, in _dispatch
    response = super()._dispatch(endpoint)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_http.py", line 224, in _dispatch
    result.flatten()
  File "/home/odoo/src/odoo/17.0/odoo/http.py", line 1294, in flatten
    self.response.append(self.render())
  File "/home/odoo/src/odoo/17.0/odoo/http.py", line 1286, in render
    return request.env["ir.ui.view"]._render_template(self.template, self.qcontext)
  File "/home/odoo/src/odoo/17.0/addons/website/models/ir_ui_view.py", line 442, in _render_template
    return super()._render_template(template, values=values)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_ui_view.py", line 2050, in _render_template
    return self.env['ir.qweb']._render(template, values)
  File "/home/odoo/src/odoo/17.0/odoo/tools/profiler.py", line 292, in _tracked_method_render
    return method_render(self, template, values, **options)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 592, in _render
    rendering = render_template(irQweb, values)
  File "", line 5, in not_found_template
ValueError: Element '' cannot be located in parent view


아바타
취소
베스트 답변

Hi @Farhaan 
Did you solve the problem? I have a similar issue

아바타
취소
베스트 답변

Hi,

The issue is rising because of trying to Xpath wrong template.So,

Firstly, comment out the custom addons path from your Odoo configuration file to confirm whether the issue is arising from your custom addons. If the issue does not persist after commenting out your custom addons, you can verify that the error is originating from the custom addons. You should then track down the module causing the issue and fix it.

If the issue persists even after commenting out the custom addons, please attempt to upgrade the modules from which causing the error or base module, and then try again. This may help resolve the issue. Also try to use the latest addons of your odoo version.


Hope it helps

아바타
취소
관련 게시물 답글 화면 활동
1
9월 22
4082
4
8월 22
12261
0
10월 23
5104
3
5월 16
14411
1
5월 25
2500