Community mailing list archives

community@mail.odoo.com

Re: user access rights problem

by
Graeme Gellatly
- 07/16/2016 03:55:34

You can't do what you want with the level of knowledge you have. It requires custom development.


On Fri, 15 Jul 2016 11:32 PM Abdul Qudoos <abdul.bsse1399@gmail.com> wrote:
I understand the rules by watching this video, but don't know the mechanism behind the string which we use in Rule Definition [Domain]. Can you define that string, i-e company manager can see only his employees.
Thanks

On Fri, Jul 15, 2016 at 1:12 PM, Houssine BAKKALI <houssine.bakkali@gmail.com> wrote:
and this you give you an understanding of how it works event if it's on version 7.0
https://www.youtube.com/watch?v=cRHer19bBRA
2016-07-15 8:52 GMT+02:00 Abdul Qudoos <abdul.bsse1399@gmail.com>:
So how do I make rule for a user, who only has the access to his company employees , not all companies. I don't have any knowledge about odoo rules and not have any technical experience.
Thanks
On Thu, Jul 14, 2016 at 8:42 PM, Youness Maafi <youness.maafi@gmail.com> wrote:

Hello Abdul,

While using a multi company environnement, the restrictions you are expecting are what you should get, and odoo official modules has access rights and rules automatically installed to give such restrictions.

But unfortunately, from my experience, this is not the case with all objects and sometimes even with most important ones, you are going to find a lot of objects ( eg. Hr.employee in ur case ) with wrong rules, or even without rules at all.

So just do not hesitate to check access rules in your DB, and see if restrictions exist and if you setup groups for users the right way, if yes and you still have problems: then go ahead and fix rules to fit your needs.

Good luck,

On Jul 14, 2016 3:58 PM, "Abdul Qudoos" <abdul.bsse1399@gmail.com> wrote:
Hi,
I am testing the data of 5 companies in odoo 9. And these 5 companies are of 4 different cities. One Company is parent company and other 4 companies are child. I created a user with limited access and give him rights of only one child company.i-e Human Resources: Employee , and check the Attendances check box just.
When I login from this account, In HR employees section, it shows me all the employees of 4 companies. According to my knowledge ,it only shows me the employees of his company.
Is there any solution for this? or am I doing wrong?  or Is this a bug in community version?

Regards 
AQM

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe