From da007eabdf85d7cd357595b4dbec0e2c3b63a10a Mon Sep 17 00:00:00 2001 From: "Arthur Detroux (ard)" Date: Thu, 8 Sep 2022 12:30:20 +0000 Subject: [PATCH] [FIX] website: do not cache footer based on website_id Commit [1] introduced t-cache on the footer making it cached depending on its website id. This is wrong as the footer can be visible or hidden depending on the page it is currently rendered in. This commit adapt the t-cache so that the footer is cached based on the page. Steps to reproduce: - Go in edit mode and click on the footer - Turn off "Page Visibility" - Save Footer is now hidden on every page depending on which page rendered it first. [1]: https://github.com/odoo/odoo/commit/b0a2a41d78292cb8b9e53788d40c6dc5915a466d closes odoo/odoo#99832 Signed-off-by: Romain Derie (rde) --- addons/website/views/website_templates.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/addons/website/views/website_templates.xml b/addons/website/views/website_templates.xml index 9466435ec99..45027888ebc 100644 --- a/addons/website/views/website_templates.xml +++ b/addons/website/views/website_templates.xml @@ -140,7 +140,10 @@ Footer - no_footer,no_copyright,website + + Copyright