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.

0

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

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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