You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.5 KiB
31 lines
1.5 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record id="view_department_form" model="ir.ui.view">
|
|
<field name="name">hr.department.view.kanban.inherit.hierarchical.chart.widget</field>
|
|
<field name="model">hr.department</field>
|
|
<field name="inherit_id" ref="hr.view_department_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//group" position="replace">
|
|
<group>
|
|
<group col="1">
|
|
<field name="name"/>
|
|
<field name="manager_id"/>
|
|
<field name="parent_id"/>
|
|
<field name="company_id"/>
|
|
<field name="child_ids" invisible="1"/>
|
|
<field name="is_parent_child" invisible="1"/>
|
|
</group>
|
|
<group col="4" name="org_chart"
|
|
attrs="{'invisible': [('is_parent_child', '=', False),('child_ids','=', []),('parent_id','=',False)]}"
|
|
style="width: max-content;margin-left:223px;margin-top:-32px;font-size: 16px">
|
|
<div id="department_right"
|
|
class="col-lg-4 px-0 ps-lg-5">
|
|
<field name="child_org_ids" class="position-relative"
|
|
widget="org_chart" nolabel="1"/>
|
|
</div>
|
|
</group>
|
|
</group>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|
|
|