Files
Odoo-Build/snippets/sale.view_order_form.no_create_edit.xml
T

9 lines
401 B
XML

<data inherit_id="sale.view_order_form" priority="50">
<xpath expr="//field[@name='partner_id']" position="attributes">
<attribute name="options">{'always_reload': True, 'no_quick_create': True, 'no_create_edit': True}</attribute>
</xpath>
<xpath expr="//field[@name='product_id']" position="attributes">
<attribute name="widget">selection</attribute>
</xpath>
</data>