Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
5928 มุมมอง

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
2983
1
ส.ค. 25
3933
1
ม.ค. 25
2168
1
ต.ค. 24
5845
Employee Bank Account Number แก้ไขแล้ว
2
ก.ค. 24
2472