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

Hello,

I want to create record rule, that user assigned with that rule, can only view Own timesheets and department. It looks like:

Model: Analytic Line

Domain rule: [
('employee_id.department_id', '=',
user.employee_id.department_id.id)

]
I can see all user data in list view from department, but if I want to add new entry in time-sheets, many2one field employee_id field only show current user. 


What rules or access rights I need to be able to access users from department?


الصورة الرمزية
إهمال
الكاتب أفضل إجابة

any idea, how this can be solved? Any help would be appreciated

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
فبراير 25
37
1
فبراير 25
714
2
ديسمبر 24
872
0
ديسمبر 24
552
0
ديسمبر 24
824