Files
app-odoo/app_stock_ztree/views/stock_views.xml
ivan deng ec6660fd57 fix superbar
add transit
2019-01-06 03:06:18 +08:00

17 lines
654 B
XML

<odoo>
<data>
<!-- stock -->
<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="//field[@name='location_id']" position="attributes">
<!-- Add your fields or attributes here -->
<attribute name="widget">ztree_select</attribute>
<attribute name="ztree_parent_key">location_id</attribute>
</xpath>
</field>
</record>
</data>
</odoo>