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.

1

Restrict cost price information

By
Lawrence
on 3/27/13, 5:44 AM 1,705 views

Hello,

Under Sales->Products->Products there is a 'Procurements' tab which shows the cost price for the product.

I have sales users set up and would like to restrict access to this information. What is the best way to do this? I'm assuming that editing the view for the user will not be a secure way to do it..

Thanks, Lawrence

1

Omal Bastin

--Omal Bastin--
1146
| 6 6 8
Kochi, Kerala, India
--Omal Bastin--

Swiming deep into openERP/ODOO

Omal Bastin
On 3/27/13, 6:00 AM

You can add the group sale manager to the field. so that only the users coming under sales manager can see the field. if you add groups in the view then the visibility is controlled by the group. but if you add groups when defining the fields in python then the field will be completely unavailable.

reference :http://doc.openerp.com/trunk/developers/server/04_security/#field-access-rights

Thanks Omal- that's exactly what I was looking for. I'm still an openERP beginner so have up until now only been working on simple modifications through the UI or simply changing a group name in some XML. How do I add the syntax required for a particular Field? (For example my case of cost price). Thanks for the help!

Lawrence
on 3/27/13, 6:34 AM

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: 3/27/13, 5:44 AM
Seen: 1705 times
Last updated: 3/16/15, 8:10 AM