Skip to Content
Menu
This question has been flagged
1 Reply
5771 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.

Related Posts Replies Views Activity
0
Jun 21
2810
1
Aug 25
3642
1
Jan 25
1853
1
Oct 24
3340
2
Jul 24
2212