Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
6000 มุมมอง

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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.

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
มี.ค. 15
6859
0
พ.ค. 24
1370
2
พ.ค. 19
3431
0
มี.ค. 15
3857
1
มี.ค. 15
7619