diff --git a/src/hatch_odoo/build_hook.py b/src/hatch_odoo/build_hook.py index bd5a080..3f0e4fa 100644 --- a/src/hatch_odoo/build_hook.py +++ b/src/hatch_odoo/build_hook.py @@ -65,3 +65,7 @@ def initialize(self, version: str, build_data: dict[str, Any]) -> None: force_include_editable[pth_file.name] = ( f"{project_name}_editable_odoo_addons.pth" ) + force_include = build_data["force_include"] + force_include[pth_file.name] = ( + f"{project_name}_editable_odoo_addons.pth" + )