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.

3

How to restrict users from creating unit of measure in openerp?

By
Akhil P Sivan
on 11/12/14, 7:19 AM 1,209 views

How to hide "Create and Edit" option in the drop down of "Unit of Measure" field in product form view? I want to give the create access only to admin and hide from other users.

1

Ludo - Neobis

--Ludo - Neobis--
2387
| 2 2 5
Hoogvliet, Netherlands
--Ludo - Neobis--

Developer

Ludo - Neobis
On 11/12/14, 7:27 AM

Make sure the access rights are limited to the certain groups you want them for. Usually this means removing them from the groups that already had them (prob. stock and sales).

Go to settings --> Users --> Groups and open up any group. On the tab "Access rights" you willd find a collection of objects and their CRUD-settings for that particular group. Uncheck the "write / create /delete" options from the groups you do not want them under.

Under the group for administrators (if that exists), add the line for Unit of Measurement object and check all the boxes. The last step is to just make sure that all your users are added to the right groups.

Ludo, but i need those users to be in stock and sales groups. if i create a seperate group for those non-admin users, will that be fine? but still they are already in stock and sales groups.

Akhil P Sivan
on 11/12/14, 7:35 AM

Yes, that is what I meant. Remove the access rights from those groups but leave the groups themselves intact. Then add the access rights to your admin-group and you should be fine. NOTE: By "remove from the group" I mean that you should uncheck "write/create/delete". You cannot remove the record itself because the employees still need read-rights on that part.

Ludo - Neobis
on 11/12/14, 7:43 AM

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

1 follower(s)

Stats

Asked: 11/12/14, 7:19 AM
Seen: 1209 times
Last updated: 5/16/15, 5:45 AM