-
-
Notifications
You must be signed in to change notification settings - Fork 723
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
[MIG] stock_exception: migration to 16.0 #1965
Conversation
@mav-adhoc There is #1957 already. Would you review this instead? |
8f7bf08
to
f08171e
Compare
df383ca
to
60d83c1
Compare
@yostashiro Hi! This PR, apart from migrating the module to the 16 version, includes new features. When we were testing the model, in case we choose 'stock.picking' as the model where we wanted to apply the exception, we noticed that the exception also ran when we confirmed sale orders. Due to this desire, we created two new boolean fields in the stock.exception class (check_on_validate and check_on_confirm) in order to indicate when to run the exception. If you select check_on_confirm, it will run the exception when you create the stock.picking record. If you select check_on_validate, it will run the exception when you validate the stock.picking record. |
@mav-adhoc Thanks for explaining. We currently don't use this module so we may not be doing a thorough review, but I'd suggest splitting the new feature into a separate commit for ease of review and backporting. |
/ocabot migration stock_exception |
d75cec8
to
f32933a
Compare
@rousseldenis we should close this PR or the previous one? |
31d68db
to
111b26e
Compare
111b26e
to
8d6c626
Compare
@yostashiro Hi! Can we merge this PR? Or we should merge the previous pull request (#1957) ? |
@mav-adhoc The better is to ask @Saran440 what to do. As it was there before this, it is also fair to review that one instead. |
I checked this PR and #1957 However, I okay to use this PR. |
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.
Code Review 👍
/ocabot migration stock_exception |
This PR has the |
@OCA/tools-maintainers Merge please |
1 similar comment
@OCA/tools-maintainers Merge please |
This does not belong to |
/ocabot merge nobump |
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at acfb321. Thanks a lot for contributing to OCA. ❤️ |
No description provided.