-
-
Notifications
You must be signed in to change notification settings - Fork 709
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
[14.0][IMP] product_state: move access to Sales + Inventory Manager #1124
Conversation
Hi @emagdalenaC2i, |
f6f9c0f
to
7b4eebb
Compare
Had to modify the tests of a dependent module, as a result. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functional test 👍
7b4eebb
to
e2a7a27
Compare
This PR has the |
@OCA/product-maintainers sorry for the ping, but could you please merge this? |
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. |
/ocabot merge patch |
This PR looks fantastic, let's merge it! |
@dreispt your merge command was aborted due to failed check(s), which you can inspect on this commit of 14.0-ocabot-merge-pr-1124-by-dreispt-bump-patch. After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red. |
Shouldn't this access be given to the Inventory Manager, rather than the Sales Manager? |
Indeed, it's a good question. Maybe the answer is both because some products with service type are not in stock and some projects are more focused on sale than stock (and opposite). |
e2a7a27
to
612aff6
Compare
That was my reasoning as well. I've added both. |
/ocabot merge patch thanks for your contribution. Feel free to port this patch upstream, if necessary. regards. |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at b377db7. Thanks a lot for contributing to OCA. ❤️ |
Hi @aleuffre , I noticed you moved access to Inventory Manager but didn’t add a dependency on the |
I think you're correct. I thought there was an indirect dependency based on the module's existing dependencies, but it seems I was wrong (or maybe I just missed it at the time, I don't remember after almost a year). You should definitely add this fix when migrating. Thank you! |
Guys, this change is breaking the module. The dependency on Sounds like it was never tested in isolation (= install only this module).
BTW even the dep on sale could be ripped out as it's needed only for the menu... |
I would proceed the other way around. We remove the need for the dep in v18 and you can backport the fix here 😉 |
Apologies again for the mistake on my part. I don't have a strong opinion on how to fix it either way, in fact I like your solution best @simahawk , but I've definitely seen small modules blocked to avoid multiplying the number of modules in OCA... |
#1121