Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Am looking for a method to implement the following scenario. I have an asset class which has a field location. then i have created an employee and associated it with a user account . I need to limit the access to assets to only those employees with the location similar to that of the asset. The asset tree view should only show those assets based on user location. Please suggest me an idea .?
You can do it by domains, But you have to know really well all the fields and how you have to filter them.
You can see an example of this on
Sales Module, there is a group names
See Own Leads that filters sales by user, so a user that is in this group can't see other Leads.
To see how they achieve this follow these steps;
- You have to enable Technical Features on the user who is going to configure this.
Settings>Users. Select the user who is going to have the technical features and in
- Refresh your browser.
- Go to:
Settings>Security>Record Ruleslook for
Personal Ordersand see the domain:
This is enabled for the group
Sales / See Own Leads so they can see only the orders where user_id is the same as their user.id or user_id is False.
You can do something like this.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 9/7/13, 8:27 AM|
|Seen: 2730 times|
|Last updated: 10/17/16, 1:12 PM|