Open vvrossem opened 4 months ago
For OCA PRs depending on another PR: the recommended way is to use test-requirements.txt.
There you can specify your python dependency as:
odoo${10|11|12|13|14}-addon-${addon_name} @ git+https://github.com/OCA/$repo_name@refs/pull/$PR_NR/head#subdirectory=setup/$addon_name
For this to work, you MUST have setup folder updated in the base PR.
Normally this is done on pre-commit run on recent versions BUT it works only when the module is installable. Hence, if you are migrating a module, make sure the setup folder is up to date and staged in the changes.
If you want to generate it manually, just run setuptools-odoo-make-default -d .
in the repo folder.
Note that from odoo 15 we don't need the version in the python pkg name anymore.
When you use such approach, always add or update test-requirements.txt in a separated commit to make prominent that there's a commit to trash before merging.
strating from v17
odoo-addon-${addon_name} @ git+https://github.com/OCA/$repo_name.git@refs/pull/$PR_NR/head#subdirectory=${addon_name}
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.
Depends on https://github.com/OCA/sale-reporting/pull/261