Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2873 Zobrazení
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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor

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.