diff --git a/tests/scripts/install_odoo.py b/tests/scripts/install_odoo.py
index <HASH>..<HASH> 100755
--- a/tests/scripts/install_odoo.py
+++ b/tests/scripts/install_odoo.py
@@ -50,6 +50,8 @@ def install_odoo():
     subprocess.check_call(["pip", "install", "pyyaml<4"])
     # Odoo not compatible with werkzeug 1.0: https://github.com/odoo/odoo/issues/45914
     subprocess.check_call(["pip", "install", "werkzeug<1"])
+    # Odoo not compatible with Jinja2 >= 2.11
+    subprocess.check_call(["pip", "install", "jinja2<2.11"])
     subprocess.check_call(["pip", "install", "-e", odoo_dir])
Workaround Odoo jinja2 compatibility issue