コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
5796 ビュー

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
2849
1
8月 25
3709
1
1月 25
1922
1
10月 24
3875
2
7月 24
2255