Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3137 Vistas

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 Mejor respuesta

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

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
3
ene 25
4588
4
jun 20
6454
3
oct 16
3878
1
may 25
1865
1
mar 25
1900