diff --git a/setup/html_text/setup.py b/setup/html_text/setup.py
index 28c57bb6403..bc61a27e2eb 100644
--- a/setup/html_text/setup.py
+++ b/setup/html_text/setup.py
@@ -2,5 +2,9 @@
setuptools.setup(
setup_requires=['setuptools-odoo'],
- odoo_addon=True,
+ odoo_addon={
+ "external_dependencies_override": {
+ "lxml.html": "lxml",
+ }
+ },
)