Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
5683 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor

Thanks. I try this now and see the results.

Related Posts Odpovědi Zobrazení Aktivita
0
čvn 21
2701
1
srp 25
3496
1
led 25
1651
1
říj 24
1896
2
čvc 24
2081