Add optional=hide

This commit is contained in:
Matthias Brück 2024-06-26 20:06:52 +10:00
parent d3b310b52a
commit 4e92769060

View file

@ -6,8 +6,8 @@
<field name="inherit_id" ref="sale.view_order_form"/> <field name="inherit_id" ref="sale.view_order_form"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<xpath expr="//field[@name='order_line']/tree/field[@name='product_uom_qty']" position="before"> <xpath expr="//field[@name='order_line']/tree/field[@name='product_uom_qty']" position="before">
<field name="product_uom_min_qty"/> <field name="product_uom_min_qty" optional="hide"/>
<field name="product_uom_max_qty"/> <field name="product_uom_max_qty" optional="hide"/>
</xpath> </xpath>
</field> </field>
</record> </record>