From 269aa594111a152ad4b7714856ea745bfef57155 Mon Sep 17 00:00:00 2001 From: Romain Derie Date: Tue, 26 Mar 2019 05:56:55 +0000 Subject: [IMP] http_routing, website: allow to customize the lang in URL With this commit it is now possible to change the lang displayed in the URL. Eg, you could use `/fr` instead of `/fr_BE`, or even a fancier `/french`. Task-32838 Courtesy of pla@odoo.com closes odoo/odoo#35135 Signed-off-by: Romain Derie (rde) --- addons/website/static/src/xml/website.seo.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/website/static/src/xml') diff --git a/addons/website/static/src/xml/website.seo.xml b/addons/website/static/src/xml/website.seo.xml index e3c442d8f32..6bafe769f16 100644 --- a/addons/website/static/src/xml/website.seo.xml +++ b/addons/website/static/src/xml/website.seo.xml @@ -2,7 +2,7 @@ - + -- cgit v1.2.3 From 3daed421f4c06ce0851efb8eab0071b7fc002bff Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Wed, 28 Aug 2019 15:41:22 +0000 Subject: [FIX] website: restore edit menu dialog Since saas-12.5, with recent ORM changes, writing on non-existing fields does not trigger a warning anymore but instead crashes. This revealed that the 12.0 "Edit Menu" dialog was doing some of that. Indeed, depending on what was edited, we ended up writing on the 'is_homepage' field, the 'text' field, the 'isNewWindow' field, ... which do not exist. This commit takes advantage of the fix to also lint the dialog code and convert some of it to ES6. Discovered while working on task-1925319 closes odoo/odoo#36204 Signed-off-by: Quentin Smetz (qsm) --- addons/website/static/src/xml/website.contentMenu.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'addons/website/static/src/xml') diff --git a/addons/website/static/src/xml/website.contentMenu.xml b/addons/website/static/src/xml/website.contentMenu.xml index edf166b946d..9c938c38847 100644 --- a/addons/website/static/src/xml/website.contentMenu.xml +++ b/addons/website/static/src/xml/website.contentMenu.xml @@ -1,14 +1,14 @@ -
  • +
  • - + -- cgit v1.2.3 From 1345702258adbfbee0d780dc22e552395e6d1df7 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Wed, 28 Aug 2019 09:33:20 +0000 Subject: [IMP] website: add the ability to create mega menus Allow users to create complex website menus, also known as "mega menus". Mega menus are enabled individually via the edit menu dialog, then their content can be customized by dragging snippets in them like any other snippets area in edit mode. task-1925319 closes odoo/odoo#36097 Signed-off-by: Quentin Smetz (qsm) Co-authored-by: Andrea Ulliana --- addons/website/static/src/xml/website.contentMenu.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'addons/website/static/src/xml') diff --git a/addons/website/static/src/xml/website.contentMenu.xml b/addons/website/static/src/xml/website.contentMenu.xml index 9c938c38847..af318703b5c 100644 --- a/addons/website/static/src/xml/website.contentMenu.xml +++ b/addons/website/static/src/xml/website.contentMenu.xml @@ -1,7 +1,7 @@ -
  • +
  • @@ -10,6 +10,7 @@ + Mega Menu @@ -49,6 +50,9 @@ Add Menu Item +
    + + Add Mega Menu Item
    -- cgit v1.2.3 From 710406e9354c35f7d4f3b57217dbc09a39754cab Mon Sep 17 00:00:00 2001 From: Kaushalya Mandaliya Date: Wed, 11 Sep 2019 13:29:54 +0000 Subject: [IMP] website: UX improvements in Optimize SEO Dialog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added cursor pointer when hovering a keyword in Related Keywords and added relevant tooltip for the better user experience. Renamed classes: js_seo_keyword_suggestion -> o_seo_keyword_suggestion js_seo_suggestion -> o_seo_suggestion task-2070946 closes odoo/odoo#36709 Signed-off-by: Jérémy Kersten (jke) --- addons/website/static/src/xml/website.seo.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'addons/website/static/src/xml') diff --git a/addons/website/static/src/xml/website.seo.xml b/addons/website/static/src/xml/website.seo.xml index 6bafe769f16..de1fc86fa23 100644 --- a/addons/website/static/src/xml/website.seo.xml +++ b/addons/website/static/src/xml/website.seo.xml @@ -32,14 +32,14 @@