Files
app-odoo/app_stock_location_zchart/views/stock_location_views.xml
2024-04-02 02:08:06 +08:00

24 lines
923 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="app_view_location_form" model="ir.ui.view">
<field name="name">app.stock.location.form</field>
<field name="model">stock.location</field>
<field name="inherit_id" ref="stock.view_location_form"/>
<field name="arch" type="xml">
<xpath expr="//group[1]" position="before">
<div id="o_node_container">
<div id="o_node_main">
<span id="add_group"/>
</div>
<div id="o_node_right">
<field name="child_ids" widget="ztree_chart" nolabel="1"/>
</div>
</div>
</xpath>
<xpath expr="//span[@id='add_group']" position="after">
<xpath expr="//group[1]" position="move"/>
</xpath>
</field>
</record>
</odoo>