hello,
i explain my problem: i want to complete the society form which there is many2one field with res_partner relation which represent principal contact . At the end of the form there is a notebook which one2many relation to res_partner to add contacts of the society. In the contact form there is a boolean field which add to select if the contat is the principal. I want that if the field is selected put automatically in the society form(above) the contact_id .
Do you think there is a solution for that
thanks a lot
Sorry I am confused,
Which field is selected to put automatically in the society form (the boolean)?
And where in the society form do you want the contact_id (in the principal contact or in the society contacts one2many)?