From 0ca72f89b68573fce865a84b39879c9fa786d06c Mon Sep 17 00:00:00 2001 From: "Thomas Lefebvre (thle)" Date: Mon, 27 Nov 2023 13:27:08 +0100 Subject: [PATCH] [FIX] website_sale: not cached breadcrumb Steps to reproduce: ------------------- - go to ecommerce; - click on "Product A"; We see the breadcrumb: All Products / Product A - go to shop page; - go to the category of "Product A"; - click on "Product A"; We see the breadcrumb: All Products / Product A instead of: All Products / Category / Product A Cause: ------ The template used for the breadcrumb is cached. Solution: --------- Use the `t-nocache` attribute to re-evaluate this part of the template each time it is rendered. opw-3582971 closes odoo/odoo#144327 X-original-commit: b735269c390d2117336e29651193726ccf050636 Signed-off-by: Thomas Lefebvre (thle) --- addons/website_sale/views/templates.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/website_sale/views/templates.xml b/addons/website_sale/views/templates.xml index 5baa64effb2..cce4c5985d9 100644 --- a/addons/website_sale/views/templates.xml +++ b/addons/website_sale/views/templates.xml @@ -1035,7 +1035,8 @@ -