Community mailing list archives

Update value of a Many2one relation

- 04/02/2016 00:25:38

Maybe a dumb question but, can someone share a simple example how to update a field of a Many2one relation.

Lets say, I have the model A with a field "AB" and the in the Model B I have a field with Many2one relation to Model A and a field "BA". When I confirm the record is valid (with state on the B Model) I want to update the value of "AB" field on A Model.

Thanks in advance...