2015-05-29 11:17 GMT+02:00 Simon Klemenc <[email protected]>:

> At the moment i try to update a many2one field within an on_change_*
> method..


What exactly are you trying to do ? Is it :

  - Updating the Many2One field itself on the current record
or
  - Modifying the target record of the Many2One

The first one should work properly, i.e. "self.party = some_other_party".

However, the second one is not possible, as Many2One are not "part of" the
current record (whether One2Many are). So :

self.party.name = 'Something'

will not be possible.

Jean Cavallo
*Coopengo*

Reply via email to