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

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

By
aneesh ATEES Infomedia Pvt Ltd
on 2/27/15, 3:24 AM 476 views

Hi,

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

Thank You

0

Cyril Gaspard (GEM)

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

Forum contributor since 2008

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

Hi,

just add groups to your button as this :

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

update module and refresh you browse view

Bye

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

Vasanth
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)

Stats

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