Odoo Help

0

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

By
sam
on 9/17/14, 12:29 PM 598 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?

0

Sudhir Arya (ERP Harbor Consulting Services)

--Sudhir Arya (ERP Harbor Consulting Services)--
11584
| 6 8 8
Ahmedabad, India
--Sudhir Arya (ERP Harbor Consulting Services)--

• Co-Founder & Co-Owner at ERP Harbor Consulting Services

• ERP Consultant / ERP Customization / TechnoFunctional Expert

• Sound knowledge in Python, Odoo (Open ERP), XML, PostgreSQL

• Domain knowledge of Sale Management, Purchase Management, Warehouse Management, Manufacturing, Multi Company Configuration & Management, HR Management, Medical Management, Construction Management, Education Management, Point of Sale, Third Party Integrations

• Positive attitude and quick Learner

• Good analytical skill, quick bug and issue tracing and find the solution

• Good knowledge and experience in payment gateway integration with Odoo

• Ready to accept new challenges

• Active Memeber On Stackoverflow 

LinkedIn

Blog

Stackoverflow

Sudhir Arya
ERP Harbor Consulting Services
skype: 
sudhir@erpharbor.com 
Sudhir Arya (ERP Harbor Consulting Services)
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.

Syntax:


<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

sam
on 9/19/14, 5:41 AM

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.

Register

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)

Stats

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