Odoo Help


How do I make a field or button on a form view appear only to a specific user group?

on 9/17/14, 12:29 PM 457 views

Here is the situation guys

- I need to make a certain field or button action appear only to a specifuc user group. how do i make this happen?


Sudhir Arya (SA)

--Sudhir Arya (SA)--
| 6 8 8
Ahmedabad, India
--Sudhir Arya (SA)--

Working as an OpenERP/Odoo developer and a Team Leader 

Top 5 Odoo contributor On Stackoverflow




Sudhir Arya (SA)
On 9/17/14, 1:03 PM

Hello Sam,
There is an attribute in xml named "groups" in which you can give security group that will be accessible to those users that belongs to those groups.


<button name="xyz" string="xyz" type="workflow/object/action" groups="your_one_group,your_second_group"/>
<field name="xyz" groups="your_one_group,your_second_group"/>

Thanks a lot this helps

on 9/19/14, 5:41 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 platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 9/17/14, 12:29 PM
Seen: 457 times
Last updated: 3/16/15, 8:10 AM