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

We need salespeople in a multi-company setup to be able to create, edit, and bulk import their own leads within Odoo 18 using Sales Groups, without requiring an administrator to assign them.


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

Hi,


To enable salespeople in a multi-company Odoo 18 setup to manage their own leads within Sales Groups without admin intervention, combine security groups, record rules, and optional automated actions. Ensure salespeople are in the "Salesperson" group and avoid excessive permissions. Create record rules for the crm.lead model, allowing access to leads assigned to their team or directly to them, applying these rules across all companies.


Optionally, use automated actions or Python constraints to automatically assign new leads to the salesperson's Sales Team. Provide a clear import template and verify import permissions. Thoroughly test with different users and refine record rules as needed, prioritizing security and providing user training and documentation.


Reference:-

https://www.cybrosys.com/blog/how-to-create-record-rules-in-odoo-18

https://www.cybrosys.com/blog/how-to-create-security-group-and-manage-access-rights-in-odoo-18

https://www.odoo.com/documentation/19.0/applications/general/users/access_rights.html

https://www.youtube.com/watch?v=w6GLW3IE-UU


Hope it helps

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

Hello Gabriel

This already exist, you can assign the users to the group:  Sales / User: Own Documents Only
In this group they will only be able to see the records related to them

However if you want to implement this in a new group
you can create the group then create a record rule like this:

Select all checkboxes

Name:  "Leads: Own Records or whatever suits you"

Model: ​"Lead/Opportunity"

Rule Definition (Domain Filter): ['|',('user_id','=',user.id),('user_id','=',False)]

Groups (no group = global): "The Group You created"

also add the record rule: "CRM Lead Multi-Company" to the group you created to make sure they only see the leads related to their company

then add users to this group and make sure they are not in another group which have more privileges than this one

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أكتوبر 25
295
0
أكتوبر 25
14
1
أكتوبر 25
242
1
أكتوبر 25
282
2
أكتوبر 25
337