Help

欢迎!

该社区面向专业人士和我们产品和服务的爱好者。
分享和讨论最好的内容和新的营销理念,建立您的专业形象,一起成为更好的营销人员。


0

How to remove the internal link button after the "Add product" in sale order view at sale order line for specific groups.

Avatar
odoo
Avatar
Discard
1 Answer
0
Avatar
odoo
Best Answer
<record id="sale_order_form_inherited" model="ir.ui.view">
<field name="name">sale.order.inherited.form</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='order_line']/tree/field[@name='product_id']" position="attributes">
<attribute name="options">{'no_create': True,'no_create_edit': True,'no_open': True}</attribute>
</xpath>
</field>
</record>
Avatar
Discard