Odoo Help

Welcome!

This community 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.

0

Security Rule for special stock.location for only one group of user

By
Dairidi
on 10/16/15, 4:00 AM 392 views

Hi there,

I want to define a security rule for a stock location that only one group of users can interact with this location. All the user users should not see the location and should not do anything in this location.

I have a location ABC and this should only be seen by users of the group UsersABC. But the UsersABC should also have the rights to see all other locations. But all other groups should not have any permissions on location ABC ( read, write, create, delete )

I tried to define a rule that global the rights for the locationABC are 0000 and the rights for UsersABC are 1111 but the first problem is thatOdoo says that there must be at least one Access Right to be checked in the rules. And the second problem is, when i create a rule with domain ['name','=','locationABC'] for group UsersABC they can only see this location.

Anybody an idea how to handle this problem?


Greets Flo

0

zbik

--zbik--
5941
| 6 4 7
Lodz, Poland
--zbik--


zbik
On 10/16/15, 1:18 PM

You exclude location ABC ID from standard 1111 Location rule (expand domain like ...('id','!=',ABC_ID)...)  and create new full rule with domain=[....('id','=',ABC_ID)...] for  UsersABC group.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 10/16/15, 4:00 AM
Seen: 392 times
Last updated: 10/16/15, 1:18 PM