Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
5874 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
2932
1
ago 25
3863
1
ene 25
2092
1
oct 24
5517
2
jul 24
2410