Skip to Content
Menú
This question has been flagged
1 Respondre
3196 Vistes

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

Avatar
Descartar
Autor Best Answer

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

Avatar
Descartar
Related Posts Respostes Vistes Activitat
3
de gen. 25
4833
4
de juny 20
6579
3
d’oct. 16
4002
2
d’oct. 25
306
1
de maig 25
1997