From 2a1aa808e939eeaa3caec6a1a82e19f023f1d010 Mon Sep 17 00:00:00 2001 From: Cocographique Date: Thu, 30 Jul 2020 20:45:58 +0000 Subject: [PATCH] [IMP] website, *: review existing navbar templates and templates system *: portal, website_sale, website_sale_wishlist Portal-without-website header is now more basic, without the need of a collapsed element. It is then entirely replaced when website is installed with header templates, t-calling all the main parts. Part of https://github.com/odoo/odoo/pull/56427 task-2264627 X-original-commit: d3d5983e0a76eb6500e0d3f78f128879b50390e0 Co-authored-by: qsm-odoo --- addons/portal/views/portal_templates.xml | 33 +- .../static/tests/tours/reset_views.js | 2 +- addons/website/models/theme_models.py | 2 +- .../static/src/js/editor/snippets.options.js | 30 +- .../static/src/scss/primary_variables.scss | 2 +- addons/website/static/src/scss/website.scss | 50 +-- .../website/static/tests/tours/html_editor.js | 2 +- addons/website/views/snippets/snippets.xml | 38 +- addons/website/views/website_templates.xml | 371 +++++++++++++++--- addons/website_sale/views/templates.xml | 41 +- .../views/website_sale_wishlist_template.xml | 41 +- 11 files changed, 473 insertions(+), 139 deletions(-) diff --git a/addons/portal/views/portal_templates.xml b/addons/portal/views/portal_templates.xml index 72d8516c2be..f50045d0e88 100644 --- a/addons/portal/views/portal_templates.xml +++ b/addons/portal/views/portal_templates.xml @@ -6,28 +6,23 @@ -