-
-
Notifications
You must be signed in to change notification settings - Fork 461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WiKi][FIX] Use temporary reference(s) to another pull request(s) - link structure #552
Comments
Hi, @mymage. If I look at the setup folder of any repository, I see the folder with underscores, not dashes: https://github.com/OCA/l10n-spain/tree/15.0/setup So I think it's correct right now. |
Hola @pedrobaeza I apologize, you are right for module name, I copied/wrote it wrong. But on PR OCA/management-system#498 still open I used the format The Thanks |
Having similar issues with another PR (OCA/survey@986a1f6), another point to take into account is how the repository modules are packed. In my case, had to to prefix my requirement with |
Hi @chienandalu. For Odoo < 15, PyPI package names are constructed as The reason we could do this change, is that the pip dependency resolver is now smart enough to pick-up the correct addon version based on the installed Odoo version, so we can now have the same package name across Odoo series, which is simpler and avoid to create a whole new set of PyPI projects for each new Odoo series.
|
Thanks for the heads up @sbidoul ! All clear now 👍 |
On the referenced page there is template of the link to use:
odoo-addon-<module_name_with_dashes> @ git+https://github.com/OCA/<repository>/refs/pull/<PR_number>/head#subdirectory=setup/<module_name>
For newbie like me I suggest to change it to:
odoo-addon-<module_name_with_dashes> @ git+https://github.com/OCA/<repository>
.git@refs/pull/<PR_number>/head#subdirectory=setup/<module_name
_with_dashes>
@pedrobaeza
Thanks
The text was updated successfully, but these errors were encountered: