diff --git a/extensions/odoo_theme/static/js/menu.js b/extensions/odoo_theme/static/js/menu.js index ac79da21e..fa6af0b59 100644 --- a/extensions/odoo_theme/static/js/menu.js +++ b/extensions/odoo_theme/static/js/menu.js @@ -7,10 +7,13 @@ // Allow to automatically collapse and expand TOC entries _prepareAccordion(navigationMenu); - // Allow to respectively highlight and expand the TOC entries and their related TOC - // entry list whose page is displayed. + // Allow to respectively highlight and expand the TOC entries and their related TOC entry + // list whose page is displayed. _flagActiveTocEntriesAndLists(navigationMenu); + // Expand the top-level menu items on the homepage. + _expandTopMenus(navigationMenu); + // Show hidden menu when the css classes have been properly specified navigationMenu.removeAttribute('hidden'); }); @@ -20,9 +23,9 @@ * * TOC entries (
  • elements) that are on the path of the displayed page receive the * `o_active_toc_entry` class, and their related (parent) TOC entry list (