diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py
index 444e4d1c310..1a803a78ece 100644
--- a/addons/web/controllers/main.py
+++ b/addons/web/controllers/main.py
@@ -476,7 +476,9 @@ class HomeStaticTemplateHelpers(object):
parent_tree = copy.deepcopy(self.template_dict[parent_addon][parent_name])
xpaths = list(template_tree)
- if self.debug and inherit_mode == self.EXTENSION_MODE:
+ # owl chokes on comments, disable debug comments for now
+ # pylint: disable=W0125
+ if False: # self.debug and inherit_mode == self.EXTENSION_MODE:
for xpath in xpaths:
xpath.insert(0, etree.Comment(" Modified by %s from %s " % (template_name, addon)))
elif inherit_mode == self.PRIMARY_MODE:
diff --git a/addons/web/tests/test_serving_base.py b/addons/web/tests/test_serving_base.py
index 3ea1505e3cf..79fb256667b 100644
--- a/addons/web/tests/test_serving_base.py
+++ b/addons/web/tests/test_serving_base.py
@@ -145,7 +145,6 @@ class TestStaticInheritance(TestStaticInheritanceCommon):