跳至內容
選單
此問題已被標幟
1 回覆
5755 瀏覽次數

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
2807
1
8月 25
3631
1
1月 25
1833
1
10月 24
3254
2
7月 24
2209