<record id="view_purchase_order_tree_onboarding" model="ir.ui.view"> <field name="name">purchase.order.tree</field> <field name="model">purchase.order</field> <field name="inherit_id" ref="purchase.purchase_order_tree"/> <field name="mode">primary</field> <field name="arch" type="xml"> <xpath expr="//tree" position="attributes"> <attribute name="banner_route">/purchase/onboarding_panel</attribute> </xpath> </field> </record>
When inherit (purchase.requisition) tree view, i achieve what i expect. But with purchase.order tree view, the method fails. Is there anyway around to do that?
Thanks