Odoo Help


How to restrict view/access to fields to some groups?

Damjan Cvetko
on 1/28/14, 2:22 AM 1,390 views

Hi there,

I am playing with the rights management and trying to restrict access of for example "purchase_price" field in sales.orders with no luck till now.

I changed the line in sale_margin_view.xml from:

<field name="purchase_price" groups="base.group_user"/>


<field name="purchase_price" groups="base.group_sale_manager"/>

but still all users can see this field. Any idea what I could check to make this work? Am I doing something wrong?



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: 1/28/14, 2:22 AM
Seen: 1390 times
Last updated: 3/16/15, 8:10 AM