strange behavior on o2m fields with many2many widget
It happens on any o2m field with the many2one widget, but I will explain how to reproduce it on a concrete one:
1. Create a new Supplier shipment.
2. Add an existing incoming move to the shipment.
3. Open the move form.
4. Press cancel button or 'Esc' key.
5. Save the shipment or receive it.
If you follow the steps, the move disappears, but for me the expected behavior is to keep it.
I'm using 5.2 version but it's also happening in 5.6.