İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
387 Görünümler

Al entrar al icono de carrito me sale este error:

Alternativa a la plantilla

"Ocurrió un error al visualizar la plantilla website_sale.cart.

Puede restablecer la plantilla a la configuración de fábrica si alguno de los cambios ocasionó un error.

  • Shopping Cart

Restablecer a la versión anterior (reinicio parcial). 

Restablecer a la versión inicial (restablecimiento completo)."


Mensaje de error:

Error while render the template
ValueError: El elemento "<div name="o_wsale_cart_line_button_container">" no se puede localizar en la vista principal
Template: website_sale.cart
Path: /t/t/div/t
Node: <t t-call="website_sale.cart_lines"/>

El error ocurrió al renderizar la plantilla. website_sale.cart y evalúe la siguiente expresión: <t t-call="website_sale.cart_lines"/>

Avatar
Vazgeç
En İyi Yanıt

Hi,


The error means a required <div> (o_wsale_cart_line_button_container) is missing from the website_sale.cart_lines template, likely due to a broken customization.

Open the cart view in the website, and when the error appears, choose “Restore to original version” to reset the template.

If the cart was customized using Website Editor or Studio, those changes may have removed required elements.

Go to Settings > Technical > User Interface > Views, search for website_sale.cart_lines, and delete any inherited or broken views if needed.

After restoring, restart the Odoo server or refresh the page to apply the changes.

The cart should now load properly without any rendering errors.


Hope it helps.

Avatar
Vazgeç