Odoo Help

0

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

By
Damjan Cvetko
on 1/28/14, 2:22 AM 1,075 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"/>

to

<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?

Cheers

Damien

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

0 follower(s)

Stats

Asked: 1/28/14, 2:22 AM
Seen: 1075 times
Last updated: 3/16/15, 8:10 AM