Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
5774 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
2815
1
ago 25
3652
1
ene 25
1864
1
oct 24
3342
2
jul 24
2214