When saving an instance if the relation field of a one2many item is set, it should not try to save it as it will be replaced by the current record. And in the worst case, the target set could not be valid and so it prevents to store the instance which doesn't need of this target.
issue3501 URL: http://codereview.tryton.org/3601003/