Setting the value of an unloaded field in a O2M on_change() call the lines added are added twice.
This happens because the client fetches the new field definition which will trigger a default_get()
call which if it sets the value of the field will also trigger the on_change()
of the parent.
Thus the on_change()
is called twice and the added lines are added twice.