Odoo Help


How assign groups to button? [Closed]

Vasiliy Birukov
on 3/27/13, 8:56 AM 4,581 views

The Question has been closed

Vasiliy Birukov
on 03/27/2013 09:10:41

Is it possible restrict access to button for some groups?

Need add name of module before group. <button name="name" groups="mrp.group_mrp_user"/>. Without name it don't work, even if the group define in the same module.

Vasiliy Birukov
on 3/27/13, 9:10 AM

Thanks a lot wowas!

Rafael Reuber
on 3/21/14, 12:23 AM



| 6 5 7
Buenos Aires, Argentina
Karma will give me a place in heaven!
On 3/27/13, 9:15 AM

In the definition of the button, in the .xml, you can add this:

<button string="Label" name="fnct_to_call" (...) groups="name_of_the_group"/>

Is this what you want?

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

0 follower(s)


Asked: 3/27/13, 8:56 AM
Seen: 4581 times
Last updated: 4/1/15, 1:09 PM