summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorKevin Baptiste <kba@odoo.com>2019-09-18 08:18:42 +0000
committerKevin Baptiste <kba@odoo.com>2019-09-18 08:21:38 +0000
commit520ebd3c89280745021902f2903c7d1cffd2963b (patch)
treeafb5c4f309bac0389a895be1bbd8f80bb90a706d /addons
parent29bbdc9aa5ffba5f20c374b66b0045275c67f0c0 (diff)
[FIX] hr_org_chart: reduce width on public profile
Prior to this commit, the org chart was taking 2/3 of the available width. This commit aims at reducing the space used and to be consistent with the private employee profile. closes odoo/odoo#37052 Taskid: 2073361 Signed-off-by: Romain Libert (rli) <rli@odoo.com>
Diffstat (limited to 'addons')
-rw-r--r--addons/hr_org_chart/views/hr_views.xml10
1 files changed, 4 insertions, 6 deletions
diff --git a/addons/hr_org_chart/views/hr_views.xml b/addons/hr_org_chart/views/hr_views.xml
index a8e7a6c70bd..eb1a7e8a5fa 100644
--- a/addons/hr_org_chart/views/hr_views.xml
+++ b/addons/hr_org_chart/views/hr_views.xml
@@ -20,12 +20,10 @@
<field name="inherit_id" ref="hr.hr_employee_public_view_form"/>
<field name="arch" type="xml">
<xpath expr="//div[@id='o_work_employee_main']" position="after">
- <group>
- <div id="o_employee_right">
- <h4 class="o_org_chart_title mb16 mt0">Organization Chart</h4>
- <field name="child_ids" widget="hr_org_chart"/>
- </div>
- </group>
+ <div id="o_employee_right">
+ <h4 class="o_org_chart_title mb16 mt0">Organization Chart</h4>
+ <field name="child_ids" widget="hr_org_chart"/>
+ </div>
</xpath>
</field>
</record>