跳至内容
菜单
此问题已终结
1 回复
5711 查看

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.

相关帖文 回复 查看 活动
0
6月 21
2740
1
8月 25
3563
1
1月 25
1759
1
10月 24
2567
2
7月 24
2152