This question has been flagged
1 Reply
4536 Views

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
Discard
Best Answer

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
Discard
Author

Thanks. I try this now and see the results.