Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2819 Lượt xem

Hello odooers 

I just started using odoo 14 ..

I added the  employees  app  then, started adding employees (around 40) , after that I installed the timesheets app and added timesheets to some employees ..

So, Basically my question is, I added a new user (manager of 5 employees) and I want him to only have the rights to (see/ approve/  add/  delete) timesheets of those 5 employees only .

thanks in advance .


Ảnh đại diện
Huỷ bỏ
Tác giả

or better how to make a user access only some employees

Câu trả lời hay nhất

Hello ilyesky

As per your comment.

For time-sheet model (account.analytic.line) need to create new record rule.

add new custom field list_of_user_ids is compute fields on user which store the users what is under the manager(5). In this field you store that 5 user id

like [('user_id','in',list_of_user_ids)]

Thanks & Regards,

Email: odoo@aktivsoftware.com

Skype: kalpeshmaheshwari

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 7 22
3409
2
thg 7 25
4426
2
thg 2 24
3025
1
thg 11 21
2030