Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
2898 Weergaven
Hello my odoo v15 thows this error.
An error occurred while displaying the website.layout template.
If this error is caused by your change to the templates, you have the option of resetting the template to its factory settings.

Error when render the template
AttributeError: 'website' object has no attribute 'cart_add_on_page' Template: website.layout Path: /t/t[3] Node


Avatar
Annuleer
Beste antwoord

Hi,

If some how if you are able to access the odoo backend, try resetting the template "add_to_cart_redirect" to its original architecture or try upgrading the website_sale module.


If you are not able to do from the user interface, you can upgrade the module from the command line also.

Thanks

Avatar
Annuleer
Auteur

Niyas Raphy.
First of all thank you so much for your response, the website_sale module wasn't installed because i don't use it, apparently the "Events" module added a field on "Sales" that requires "website_sales". i just installed it and everything is back to normal.