Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
5798 Переглядів

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?

Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити
Автор

Thanks. I try this now and see the results.

Related Posts Відповіді Переглядів Дія
0
черв. 21
2851
1
серп. 25
3715
1
січ. 25
1925
1
жовт. 24
3961
2
лип. 24
2256