Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

partner of society

By
brami
on 9/28/16, 4:11 AM 90 views

Hello, i have two many2one fields and twice referenced res.partner:partner_id and contact_id  i want when the first one is clicked that means when i click on partner_id i will have on_change function which return in my second field contact_id just contact which parent_id(in database)  has the id of the partner_id.

thanks a lot by advance

0
brami
On 9/28/16, 5:15 AM

i have foun the result i had to add to my contact id domain="'parent_id':partner_id" thanks

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 9/28/16, 4:11 AM
Seen: 90 times
Last updated: 9/28/16, 5:15 AM