diff --git a/fusion_plating/fusion_plating_portal/static/src/scss/fp_portal_sidebar.scss b/fusion_plating/fusion_plating_portal/static/src/scss/fp_portal_sidebar.scss index ad7221c1..54c41a5f 100644 --- a/fusion_plating/fusion_plating_portal/static/src/scss/fp_portal_sidebar.scss +++ b/fusion_plating/fusion_plating_portal/static/src/scss/fp_portal_sidebar.scss @@ -172,4 +172,15 @@ #wrap > .container > :first-child { margin-top: 0; } + + // Odoo's portal.portal_searchbar still renders an inline breadcrumb + // inside its navbar when the page sets breadcrumbs_searchbar=True. + // Now that our shell forces the outer breadcrumb to ALWAYS render + // (via the fp_portal_shell xpath above), the inline copy would be + // a visible duplicate. Hide it; the navbar's other content (title, + // sort/filter dropdowns) stays visible. + .o_portal_navbar > .breadcrumb, + .o_portal_navbar > ol.breadcrumb { + display: none; + } } diff --git a/fusion_plating/fusion_plating_portal/views/fp_portal_shell.xml b/fusion_plating/fusion_plating_portal/views/fp_portal_shell.xml index 02d2157e..06156716 100644 --- a/fusion_plating/fusion_plating_portal/views/fp_portal_shell.xml +++ b/fusion_plating/fusion_plating_portal/views/fp_portal_shell.xml @@ -39,6 +39,15 @@ name="FP Portal Shell — Sidebar Wrap" inherit_id="portal.portal_layout" priority="50"> + + + not no_breadcrumbs and not my_details + +