From 8555d11bfd392213185b4926436c018ce5a36268 Mon Sep 17 00:00:00 2001 From: Benoit Socias Date: Tue, 30 Mar 2021 12:33:48 +0000 Subject: [PATCH] [IMP] website: determine map snippet visibility based on presence of key Before this commit both Google Map and Map snippets were always available in the block list. After this commit: - if the Google Maps API key is specified: only the Google Map snippet is available - if the Google Maps API key is not specified: only the Map snippet is available - if debug mode is activated: both snippets are available https://github.com/odoo/odoo/pull/68529 --- addons/website/views/snippets/snippets.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/addons/website/views/snippets/snippets.xml b/addons/website/views/snippets/snippets.xml index 73fd87c6c81..4ca371ff656 100644 --- a/addons/website/views/snippets/snippets.xml +++ b/addons/website/views/snippets/snippets.xml @@ -108,8 +108,9 @@
Dynamic Content
- - + + +