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

I have employee_family() that is inherit from hr.employee().

In hr_employee() have new One2many field related with employee_family().

I need filter for see only one record of all that correspond to one employee.

How can do it?

Avatar
Descartar
Mejor respuesta

Hi,

without code it's difficult ...

what is the value/field/type of employee you want to filter ?

else try :

add in view form domain = [('employee_id.id', '=', employee_id.id), ('employee_one_id.id', '=', employee_one_id.id)]

 

bye

Avatar
Descartar
Autor

Thanks. I try this now and see the results.

Publicaciones relacionadas Respuestas Vistas Actividad
0
jun 21
2673
1
ago 25
3440
1
ene 25
1593
1
oct 24
1676
2
jul 24
1990