Skip to content
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

[16.0][MIG] product_expiry_simple #1320

Merged
merged 23 commits into from
Sep 26, 2024

Conversation

alexis-via
Copy link
Contributor

I migrated the module in october 2022, but it seems that I forgot to make the PR... sorry about that.

@rousseldenis
Copy link
Sponsor Contributor

/coabot migration product_expiry_simple

@rafaelbn
Copy link
Member

/ocabot migration product_expiry_simple

@OCA-git-bot OCA-git-bot added this to the 16.0 milestone Aug 31, 2023
@OCA-git-bot OCA-git-bot mentioned this pull request Aug 31, 2023
65 tasks
@rafaelbn
Copy link
Member

@alexis-via please, could you rebase? and check if all is green? 🍏 Thank you!

@alexis-via alexis-via force-pushed the 16-mig-product_expiry_simple branch 4 times, most recently from 8f8953b to 1651c61 Compare October 31, 2023 18:42
@alexis-via
Copy link
Contributor Author

@rafaelbn done

@hparfr
Copy link
Contributor

hparfr commented Nov 6, 2023

odoo.exceptions.UserError: Modules "Product Expiry Simple" and "Products Expiration Date" are incompatible.

@alexis-via
Copy link
Contributor Author

@hparfr yes, it's intended !

@alexis-via
Copy link
Contributor Author

@bosd here is an example for you when you have a module that is incompatible with another module of the same repo and you need to have the tests green.

@rousseldenis
Copy link
Sponsor Contributor

@sbidoul Do we have a solution for incompatible modules? I remember that if we want to keep runboat running, this kind of module should have its specific repository.

@alexis-via
Copy link
Contributor Author

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

Sorry @alexis-via you are not allowed to merge.

To do so you must either have push permissions on the repository, or be a declared maintainer of all modified addons.

If you wish to adopt an addon and become it's maintainer, open a pull request to add your GitHub login to the maintainers key of its manifest.

@alexis-via
Copy link
Contributor Author

I am the declared maintainer of product_expiry_simple, cf https://github.com/OCA/stock-logistics-workflow/blob/14.0/product_expiry_simple/__manifest__.py
Where is this stupid bot reading the information about the declared maintainer ??

@OCA-git-bot
Copy link
Contributor

Bots don't like being insulted.

The reason is likely that this PR is modifying other stuff than the addon being migrated.

@sbidoul
Copy link
Member

sbidoul commented Nov 10, 2023

Do we have a solution for incompatible modules? I remember that if we want to keep runboat running, this kind of module should have its specific repository.

@rousseldenis you may remember this: sbidoul/runboat#95

@rousseldenis
Copy link
Sponsor Contributor

@alexis-via Could you rebase to move forward on this as runboat has now two databases (one with all modules, one just with 'base') ?

@rafaelbn
Copy link
Member

/ocabot rebase

@OCA-git-bot
Copy link
Contributor

@rafaelbn The rebase process failed, because command git push --force akretion tmp-pr-1320:16-mig-product_expiry_simple failed with output:

remote: Permission to akretion/stock-logistics-workflow.git denied to OCA-git-bot.
fatal: unable to access 'https://github.com/akretion/stock-logistics-workflow/': The requested URL returned error: 403

@alexis-via
Copy link
Contributor Author

rebased

Field 'use_expiry_date' on product.template is now a computed field, like
the native 'tracking' field.
@alexis-via
Copy link
Contributor Author

rebase done

@rousseldenis
Copy link
Sponsor Contributor

@alexis-via Could you just let me know what was blocking in tests to have this seggregated in separate test flow (as I see you use the 'use_expiry_date`for constraint checks, so it shouldn't block other tests?

@alexis-via
Copy link
Contributor Author

@rousseldenis either you install product_expiry OR product_expiry_simple, but not both ! In the manifest of product_expiry_simple, I added

"excludes": ["product_expiry"]

@rousseldenis
Copy link
Sponsor Contributor

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 16.0-ocabot-merge-pr-1320-by-rousseldenis-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit a28fdf2 into OCA:16.0 Sep 26, 2024
10 of 12 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at f61f438. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.