In Multi copmany i run two completely seperate companies. Is there any way to completely remove access to employees from the other company? You can currently see all employees from both companies in the HR Module, even though I have set up each employee with access to only their own company.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
Add a new Record rule;
======
Name: Limit employee view by company (or something like that).
Object: Resource Detail
Access rights: Check All (R/W/C/D)
Rule:
[('company_id','in',[user.company_id.id])]
Global: check
======
That should fix it.
Credit to Yash Pancholi (https://www.youtube.com/watch?v=t5pl2igNOx8)
Thanks Ray, I'll check that out.
All the employees are set up within departments in their respective companies.
Thanks
Tony
company_id exists on Department, not employee.
Is each Employee assigned to a Deparment at a different company? (Have not tried, this is just my suggestion).
Usually when you see 'all records' in a multi-company scenario, it is because company_id is False.
Thanks Ray, I'll check that out.
All the employees are set up within departments in their respective companies.
Thanks
Tony
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
0
ก.ค. 21
|
2076 | ||
|
2
ก.ย. 25
|
1677 | ||
Mark an employee as having left
แก้ไขแล้ว
|
|
1
ก.ค. 24
|
1562 | |
|
2
พ.ย. 15
|
4706 | ||
|
2
มี.ค. 15
|
4223 |