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.
I want to prevent Project Managers editing the Project Settings of Projects that they are not the managers of.
For example, employee A and employee B both belong to the Project Manager group. Employee A is the Project Manager of Project A. Employee B is only a project team member of Project A and should not be able to edit its project settings.
I have the following rule:
applied to the Task object and that successfully prevents employee B from editing tasks that are not assigned to him, but if I duplicate the rule and apply it to the Project object I get the following error:
ValueError: Invalid field 'project_id.user_id' in leaf "<osv.ExtendedLeaf: ('project_id.user_id', '=', 18) on project_project (ctx: )>"
Can anyone help?
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: 7/27/16, 10:54 AM|
|Seen: 591 times|
|Last updated: 7/27/16, 6:51 PM|