Community mailing list archives

community@mail.odoo.com

Re: Update value of a Many2one relation

by
sarkazimustafa
- 04/06/2016 08:49:03
Juan,

Wonder how you have handled AB field,whats the type? I guess One2many.

Please send info

--

Best Regards,

Mustafa Sarkazi
Technology Consultant

On Sat, Apr 2, 2016 at 9:57 AM, Juan Vidal Luis <juanvidal0123@gmail.com> wrote:
Hello,

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...

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe