[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>
This commit is contained in:
Kevin Baptiste
2019-09-16 06:46:16 +00:00
parent 443b44c971
commit bb55743b84
+8 -6
View File
@@ -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">