diff --git a/extensions/odoo_theme/layout.html b/extensions/odoo_theme/layout.html
index a204bc5a3..06568252e 100644
--- a/extensions/odoo_theme/layout.html
+++ b/extensions/odoo_theme/layout.html
@@ -92,7 +92,7 @@
{% block body %} {% endblock %}
{# Do not show the edition link for pages without content #}
- {% if github_link and not 'has_only_toc' in meta %}
+ {% if github_link and 'has_only_toc' not in meta and pagename != 'search' %}
Edit on GitHub
{% endif %}