mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
fix china account level,上下级结构处理
This commit is contained in:
15
app_account_ztree/views/account_account_views.xml
Normal file
15
app_account_ztree/views/account_account_views.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<odoo>
|
||||
<data>
|
||||
<!-- hr -->
|
||||
<record id="app_view_account_form" model="ir.ui.view">
|
||||
<field name="name">app.account.account.form</field>
|
||||
<field name="model">account.account</field>
|
||||
<field name="inherit_id" ref="account.view_account_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='parent_id']" position="attributes">
|
||||
<attribute name="widget">ztree_select</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user