wms icon indicating copy to clipboard operation
wms copied to clipboard

[FIX] shopfloor_reception: Ensure state assign of remaining move

Open mt-software-de opened this issue 10 months ago • 3 comments

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.

https://github.com/OCA/wms/blob/c9cf770e08eae63574f7dd7c5dcbc238e6e00fe0/shopfloor_reception/services/reception.py#L1297 https://github.com/OCA/wms/blob/c9cf770e08eae63574f7dd7c5dcbc238e6e00fe0/shopfloor/models/stock_move.py#L100

cc @jbaudoux @TDu @mmequignon

mt-software-de avatar Apr 03 '24 19:04 mt-software-de

Hi @JuMiSanAr, @mmequignon, some modules you are maintaining are being modified, check this out!

OCA-git-bot avatar Apr 03 '24 19:04 OCA-git-bot

@TDu @mmequignon @jbaudoux why did we choose to call the recompute_state? I think that's not necessary since we calling action_assign immediately afterwards. https://github.com/OCA/wms/blob/c9cf770e08eae63574f7dd7c5dcbc238e6e00fe0/shopfloor_reception/services/reception.py#L1303

mt-software-de avatar Apr 03 '24 20:04 mt-software-de

ping @jbaudoux @TDu

mt-software-de avatar Jun 10 '24 23:06 mt-software-de