Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
1932 Zobrazení

I have an Odoo online test database going from version 16 to 17.1 

In the website ecommerce module, when selecting the webpage for an individual product, it will throw up the following Server Error. It will do this from both the backend product page when selecting 'Go To Website', as well as from the Website Shop catalogue page. I have tried it on multiple products but get the same response.

500: Internal Server Error

Traceback (most recent call last):
  File "/home/odoo/src/odoo/17.0/odoo/http.py", line 1765, 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 1792, in _serve_ir_http
    response = self.dispatcher.dispatch(rule.endpoint, args)
  File "/home/odoo/src/odoo/17.0/odoo/http.py", line 1909, 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 1291, in flatten
    self.response.append(self.render())
  File "/home/odoo/src/odoo/17.0/odoo/http.py", line 1283, 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


Avatar
Zrušit
Nejlepší odpověď

(i wanted to use the comment tool as suggested, but its grayed out)

Had the same problem. Apparently it was a duplicate view causing the problem according Odoo Support. So you could check those.

I find it strange this wasn't an issue in odoo 16

after archiving the view we had several other issues, so be careful. Even our subscriptions disappeared. Payment providers stopped working...small catastrophe tbh...customer just went live and missed 27 orders so far staying in "offer" instead of "offer sent" status (meaning they have the items in their basket, but cant finalize the order/purchase)

we're waiting for further support now...

Avatar
Zrušit
Nejlepší odpověď

Hi,
Did you have done any changes in any of the website templates ? if yes, just revert those changes and see. Also if you can locate the template which shows the error, open the template in view, and compare the template using the compare option inside the action button and see if there is any unexpected changes in it.

If you are not able to resolve, you can create a support ticket for the same in:  https://www.odoo.com/help

Thanks

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
úno 24
1649
4
kvě 25
2964
2
bře 25
2517
4
led 25
2786
2
čvn 24
2120