From 97209579fc2071c4bbf72f9ec3ceb76ddfca5abb Mon Sep 17 00:00:00 2001 From: "Antoine Vandevenne (anv)" Date: Fri, 19 Feb 2021 12:15:53 +0100 Subject: [PATCH] include elements to accordion logic --- extensions/odoo_theme/static/js/page_toc.js | 35 ++++++++++++++++++--- requirements.txt | 1 - 2 files changed, 30 insertions(+), 6 deletions(-) diff --git a/extensions/odoo_theme/static/js/page_toc.js b/extensions/odoo_theme/static/js/page_toc.js index 1f7f83ca0..f660061c2 100644 --- a/extensions/odoo_theme/static/js/page_toc.js +++ b/extensions/odoo_theme/static/js/page_toc.js @@ -117,20 +117,45 @@ /** * Update the page TOC entries and heading references to allow collapsing them. + * + * The typical structure of a TOC menu is a follows: + * + * + * Since a