Odoo Help


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.


How to restrict a button only shown on a perticular group of user?

on 2/27/15, 3:24 AM 445 views


I need to make a button visible only on a particular user group all other users should view the button as invisible.

Thank You


Cyril Gaspard (GEM)

--Cyril Gaspard (GEM)--
| 5 6 8
Paris, France
--Cyril Gaspard (GEM)--

Forum contributor since 2008

Cyril Gaspard (GEM)
On 2/27/15, 3:30 AM


just add groups to your button as this :

<button .... groups="module_name.group_name"/>

update module and refresh you browse view


Is it possible to disable a field for admin user?....and enable for rest of the user...

Umashankar Subramani
on 2/27/15, 4:15 AM

yes it is possible.you have to define rest of users in a group and using groups attribute,you can do it

on 2/27/15, 8:31 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)


Asked: 2/27/15, 3:24 AM
Seen: 445 times
Last updated: 3/16/15, 8:10 AM