In order to achieve what I had written in previous mail I have done the following: 1. Use roles to define different teams 2. In Partner define object x_role with object relation res.roles with many2many relation 3. Add the object to the view. 4. Defined a record rule which allows only the users on who have been assigned the particular roles to see it.
This approach works allowing only the assigned people to see and modify the record. However there are a number of issues that I am facing. 1. If I try to create a new record, it always complain that I am trying to bypass the access rule, although I am on the assigned rule. I could only correct the issue by specifying myself as dedicated salesman and assigning an access rule to it. 2. Customer partners are not accessible anymore. Irrespective of the role I have as an user, I cannot access Customer Partner. 3. There is no way to define security on x_role. Any body who is assigned the role which can access the record can also modify the roles for access. I believe there should be some control on it 4. There is no way to define using rules if the access to the user is readonly or read write. Any ideas anybody how can these problems be overcome. Thanks in advance. -Amit -------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=39854#39854 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users
