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

Not allowing sales employees to change prices

By
audistock
on 4/18/13, 8:20 PM 1,079 views

Hi everyone,

I am new to OpenERP. I am testing it in my company and my sales director does not want to allow the sales reps to change the salling price on the Sales Order.

Is there a way in which I can allow/not allow certain groups to change the item pricing on the sales order line?

Thanks Juan

0
Clément THOMAS
On 4/19/13, 6:19 AM

I don't know if you're developer but one way to do it is to create a new module which depends of product module, inherit concerned views, and change groups attribute of price field with anything like that :

<xpath expr="/form/field[@name='price']" position="attributes">
    <attribute name="groups">base.group_sale_manager</attribute>
</xpath>

You can also create your own security group for example :

<record id="base.group_price_manager" model="res.groups">
    <field name="name">Price / Manager</field>
</record>

And you can manage Create/Read/Update/Delete rights for a group for a data type with ir.model.access.csv file.

Clement is right, if you are not a developer you can change Create/Read/Update/Delete rights for a group.

Remya
on 4/19/13, 7:24 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

1 follower(s)

Stats

Asked: 4/18/13, 8:20 PM
Seen: 1079 times
Last updated: 3/16/15, 8:10 AM