mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update ztree relate
This commit is contained in:
23
app_stock_location_zchart/views/stock_location_views.xml
Normal file
23
app_stock_location_zchart/views/stock_location_views.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?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>
|
||||
Reference in New Issue
Block a user