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.

2

How assign groups to button? [Closed]

By
Vasiliy Birukov
on 3/27/13, 8:56 AM 2,711 views

The Question has been closed

by
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
0
Lucio
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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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