summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Baptiste <kba@odoo.com>2019-09-16 06:46:16 +0000
committerKevin Baptiste <kba@odoo.com>2019-09-16 06:46:16 +0000
commitbb55743b844e244976eecac8a1cd4127d08a89ee (patch)
treec209c8f07e32f7bc9f830a49144cba574ef89395
parent443b44c971bafe1d5594fbc76e47340ec17088d8 (diff)
[FIX] hr_timesheet: improve timesheet in hr profile
Before this commit, the Timesheets fields in the profile were taking the full width of the profile which was not nice. closes odoo/odoo#36901 Taskid: 2072007 Signed-off-by: Romain Libert (rli) <rli@odoo.com>
-rw-r--r--addons/hr_timesheet/views/hr_views.xml14
1 files changed, 8 insertions, 6 deletions
diff --git a/addons/hr_timesheet/views/hr_views.xml b/addons/hr_timesheet/views/hr_views.xml
index 8b6298e256a..683b6320df4 100644
--- a/addons/hr_timesheet/views/hr_views.xml
+++ b/addons/hr_timesheet/views/hr_views.xml
@@ -33,12 +33,14 @@
<field name="inherit_id" ref="hr.view_employee_form"/>
<field name="arch" type="xml">
<xpath expr="//page[@name='hr_settings']" position="inside">
- <group string="Timesheets" name="timesheet" groups="hr_timesheet.group_timesheet_manager">
- <label for="timesheet_cost"/>
- <div>
- <field name="timesheet_cost" class="oe_inline"/> per hour
- <field name="currency_id" invisible="1"/>
- </div>
+ <group>
+ <group string="Timesheets" name="timesheet" groups="hr_timesheet.group_timesheet_manager">
+ <label for="timesheet_cost"/>
+ <div>
+ <field name="timesheet_cost" class="oe_inline"/> per hour
+ <field name="currency_id" invisible="1"/>
+ </div>
+ </group>
</group>
</xpath>
<div name="button_box" position="inside">