[14.0][FIX] shopfloor_reception: Ensure state assign of remaining move#882
[14.0][FIX] shopfloor_reception: Ensure state assign of remaining move#882mt-software-de wants to merge 1 commit into
Conversation
|
Hi @JuMiSanAr, @mmequignon, |
|
@TDu @mmequignon @jbaudoux wms/shopfloor_reception/services/reception.py Line 1303 in c9cf770 |
jbaudoux
left a comment
There was a problem hiding this comment.
It looks good according to the test but we need to be careful because all tests seem to rely on the fact that move lines are created by the picking type configuration.
In our case, the picking type is configured to not create move lines. The main difference is that the move line is created by the user and the quantity todo is 0. This could have an impact on partial processing.
Can you extend the tests to cover our real usage of the module ?
|
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. |
|
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. |
|
Hi @mmequignon, @JuMiSanAr, |
I try to extend the Test this week. Then it could be merged and Forward ported. |
4db05de to
931fa2f
Compare
I checked it again and i am now a little confused. I think the test reflects exactly what's happening. A purchase is created and confirmed, which creates a transfer with moves and move lines. The move line is then only partially processed, which creates a new completed move. The old move must then reflect the remaining quantity with the state |
@mt-software-de The question was what will happen if the picking type is configured to not create move lines which is your use case. As there are no tests with this configuration, you better ensure there are no regression |
|
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 there is not all processed for one move, we have to ensure that the state of the remaining move is still
assigned.Otherwise the last remaining qty of this move will be not split into a own transfer.
wms/shopfloor_reception/services/reception.py
Line 1297 in c9cf770
wms/shopfloor/models/stock_move.py
Line 100 in c9cf770
cc @jbaudoux @TDu @mmequignon