Comment 3 for bug 611207

Revision history for this message
Quentin THEURET @Amaris (qtheuret) wrote :

Hi Jay,

I reopen this bug because, the fix fixes the problem if you have only one move in picking.

If you have more than one move in picking, the return packing wizard propose you to set a return for all moves. But if you want create a return packing for only one move, you set all other move product quantity to zero. But if you do that, the system shows you an error message.

The system shouldn't create a return packing with all product quantities are equal to zero. But if we have only one quantity not equal ti zero, the system should create a return packing with only this line (without other lines where quantity equal to zero).

In my patch, the instruction 'continue' allows that, but if all lines quantity are equal to zero, the system doesn't send a message to the user. You can add instruction to send a message to the user if all lines quantity are equal to zero.

I attached a patch to do that and to fix the problem.