Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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?
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.
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
|Asked: 4/18/13, 8:20 PM|
|Seen: 1466 times|
|Last updated: 3/16/15, 8:10 AM|