Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2869 Tampilan
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
Buang
Jawaban Terbai

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
Buang
Penulis

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.