如下所示,直接继承到指定的tree试图id,xpath定位到tree标签,直接修改tree试图的属性即可
<record id="apm_tree_view_01" model="ir.ui.view">
<field name="name">扩展视图Tree01</field>
<field name="model">approve.xxx</field>
<field name="inherit_id" ref="approve_notify.approve_main_tree_view"/>
<field name="arch" type="xml">
<xpath expr="//tree" position="attributes">
<attribute name="default_order">urgent_sequence, approve_date desc, id desc</attribute>
</field>
</record>
```