[8.0] pack_operations in wizard get multiplied on raised error #15015

Open
engelant opened this Issue Jan 10, 2017 · 0 comments

Projects

None yet

1 participant

@engelant
Contributor

Steps to reproduce:
If there is reserved and availible move for a product with full lot tracability, the transfer wizzard appears. There you can add a product to the wizard. Important thing is that the first product with full lot tracebility does get the lot removed in the wizard. This will rises an error trying to transfer. You raise the error a few times and after that you put in a lot in the first articel.

Current behavior:
The transfer will succeed, but the qty of the product added in the wizzard will get multiplied by the times the exception raised.

Expected behavior:
Only ammounts that are entered into the wizard should get transferred.

The cause for this seems to be a write call from the wizard, without returning the ID of the created pack_operation to the wizard. So next time instead of updating the qty a new pack_operation is created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment