Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
6093 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
3198
1
ago 25
4223
1
ene 25
2475
1
oct 24
7661
2
jul 24
2700