From b0f322ffd6bfd2d095c591885100d9aa4d0c313b Mon Sep 17 00:00:00 2001 From: Victor Feyens Date: Fri, 2 Aug 2024 16:27:16 +0200 Subject: [PATCH] [FIX] core: import jquery --- extensions/odoo_theme/__init__.py | 1 + extensions/odoo_theme/layout.html | 2 ++ 2 files changed, 3 insertions(+) diff --git a/extensions/odoo_theme/__init__.py b/extensions/odoo_theme/__init__.py index 94b102f40..56086821f 100644 --- a/extensions/odoo_theme/__init__.py +++ b/extensions/odoo_theme/__init__.py @@ -100,6 +100,7 @@ def resolve(old_resolve, tree, docname, *args, **kwargs): for _subnode in _reference_node.parent.parent.children ): # The node references a toc if 'show-content' not in tree.env.metadata[_node_docname]: + import pudb; pudb.set_trace(); _reference_node['refuri'] = '#' # The page must not be accessible def _set_docname_as_class(_reference_node, _node_docname): diff --git a/extensions/odoo_theme/layout.html b/extensions/odoo_theme/layout.html index 62323299d..191379e06 100644 --- a/extensions/odoo_theme/layout.html +++ b/extensions/odoo_theme/layout.html @@ -28,6 +28,8 @@ {%- endfor %} {%- endif %} + {{ super() }} {# Load the scripts specified in the extensions/themes #} {%- if plausible_script -%}