From 75973a9b27d3e154cc05fb20507e1c4a2f7f947e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 18 Jun 2026 19:09:35 +0200 Subject: [PATCH] Use package name as target for module with prefix The entrypoint is pointing to the package name when using prefix so the target should also. Closes #14814 (grafted from f6f8c6aa4316eeb7a73500c9dbc0ccd196aba62d) --HG-- branch : 8.0 --- .../{{ cookiecutter.module_name }}/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookiecutter-module/{{ cookiecutter.module_name }}/pyproject.toml b/cookiecutter-module/{{ cookiecutter.module_name }}/pyproject.toml index 7813313692..81d327e7b8 100644 --- a/cookiecutter-module/{{ cookiecutter.module_name }}/pyproject.toml +++ b/cookiecutter-module/{{ cookiecutter.module_name }}/pyproject.toml @@ -68,7 +68,7 @@ dev-mode-dirs = ["."] [tool.hatch.build.targets.wheel.sources] {%- if cookiecutter.prefix %} -"" = "{{ cookiecutter.module_name }}" +"" = "{{ cookiecutter.package_name }}" {%- else %} "" = "trytond/modules/{{ cookiecutter.module_name }}" {%- endif %}