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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
|
0
अक्तू॰ 25
|
295 | ||
|
|
0
अक्तू॰ 25
|
14 | ||
|
|
1
अक्तू॰ 25
|
242 | ||
|
|
1
अक्तू॰ 25
|
282 | ||
|
|
2
अक्तू॰ 25
|
337 |