Comment 5 for bug 660049

I'm attaching a test module to test this issue.

This module replaces the "Make packing" button in the out_picking_form. So, to test it, you need to have some out products (for example by creating a sale order), then press the "Make Shipping" button (I named it differently to be sure that the button had been replaced).

Once you press it, you get a one2many field that you can edit, with the same lines as the out_delivery. But when you press "Ok", only the lines you edited are sent back.

Some stuff is printed in the server console to show this.