تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
5761 أدوات العرض

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
يونيو 21
2808
1
أغسطس 25
3638
1
يناير 25
1834
1
أكتوبر 24
3271
2
يوليو 24
2212