-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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][ADD] sale_stock_prebook: Add process to prebook a sale order's stock #2624
base: 14.0
Are you sure you want to change the base?
[14.0][ADD] sale_stock_prebook: Add process to prebook a sale order's stock #2624
Conversation
cc @jbaudoux |
eeb0523
to
1dd3f52
Compare
@mt-software-de What's the difference with stock_reserve_sale ? |
Please read the comment of @jbaudoux OCA/stock-logistics-warehouse#1696 (comment) |
1dd3f52
to
0566ab0
Compare
4d44c8f
to
45daaa6
Compare
OCA/wms#769 is needed for 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.
LGTM
Can you update this PR description with this? |
3574259
to
1b4c64a
Compare
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.
Functionally tested 👍🏼
In my opinion README with the USAGE section should be improved with all how to / step by step. In other case, less reviewer, less user adopting it. 😄 ❤️
cb6d552
to
b58aec8
Compare
This one is now ready to merge, i removed the dependency to stock_helper and included the very specific logic to stop the proc run, within the module itself. |
b58aec8
to
d9d0d79
Compare
d9d0d79
to
1c2c026
Compare
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.
It's possible to process the picking generated for the reservation. It should not be possible to set quantity done on the move line nor to validate the picking.
This line https://github.com/OCA/sale-workflow/pull/2624/files#diff-2a79dc3628d7cbd98f204791750fadc712f3e43c11341eabb2c722c7157eb258R12 should prevent it. How come you made the move ready ? |
@mt-software-de @jbaudoux What's ths status of this ? |
Sorry i was not working on this. |
9a9c1cf
to
7822a9d
Compare
I found the error. Besides that this one is ready to merge. |
ping @lmignon |
7822a9d
to
aae739c
Compare
By default sale_cancel_confirm overwrites the method When there is a addon which is doing something afterwards this results in an error in testing
aae739c
to
e6ea5d4
Compare
I've just made a request for a new repo to group together the addons relating to stock pre-booking. see OCA/repo-maintainer-conf#73 |
This PR has the |
52e4e86
to
4912165
Compare
… before confirming it
Take moves into account when computing the previous promised qty Keep date_priority of Confirmed sale.orders which were reserved before
on reserved stock moves
4912165
to
57f3768
Compare
@lmignon @yostashiro i added your suggestions. @lmignon i added a separate commit, with your changes. |
Add process to prebook/reserve a sale order's stock before confirming it.
Depends on
OCA/stock-logistics-warehouse#1807NOT NEEDED ANYMOREOCA/wms#769MERGED