update misc opt

This commit is contained in:
Ivan Office
2023-09-19 00:27:39 +08:00
parent ce909768f8
commit b74d5ffab8
2 changed files with 9 additions and 12 deletions

View File

@@ -6,7 +6,13 @@
<field name="inherit_id" ref="website_sale.product_public_category_tree_view"/>
<field name="arch" type="xml">
<xpath expr="//tree" position="attributes">
<attribute name="editable">bottom</attribute>
<attribute name="multi_edit">1</attribute>
</xpath>
<xpath expr="//field[@name='display_name']" position="attributes">
<attribute name="optional">hide</attribute>
</xpath>
<xpath expr="//field[@name='display_name']" position="before">
<field name="name" optional="show"/>
</xpath>
</field>
</record>