mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
33 lines
1.6 KiB
XML
33 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<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="//group[1]" position="before">
|
|
<div id="o_node_container">
|
|
<div id="o_node_main">
|
|
<field name="image" widget="image" class="oe_avatar" invisible="1"
|
|
options="{'preview_image': 'image_medium', 'size': [90, 90]}"/>
|
|
<span id="add_group"/>
|
|
</div>
|
|
<div id="o_node_right">
|
|
<h4 class="o_chart_hierarchy_title mb16 mt0">Hierarchy Chart</h4>
|
|
<field name="child_ids" widget="web_chart_hierarchy"
|
|
string="Please get widget from https://apps.odoo.com/apps/modules/12.0/app_web_chart_hierarchy/"
|
|
options="{
|
|
'image': 'image_small',
|
|
'desc': 'code',
|
|
'direct_sub': 'child_ids',
|
|
'child_all_count':'child_all_count'}"/>
|
|
</div>
|
|
</div>
|
|
</xpath>
|
|
<xpath expr="//span[@id='add_group']" position="after">
|
|
<xpath expr="//group[1]" position="move"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|