summaryrefslogtreecommitdiff
path: root/addons/hr_timesheet/views/project_views.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/hr_timesheet/views/project_views.xml')
-rw-r--r--addons/hr_timesheet/views/project_views.xml16
1 files changed, 14 insertions, 2 deletions
diff --git a/addons/hr_timesheet/views/project_views.xml b/addons/hr_timesheet/views/project_views.xml
index f0ea47cd606..c8d46bbaa01 100644
--- a/addons/hr_timesheet/views/project_views.xml
+++ b/addons/hr_timesheet/views/project_views.xml
@@ -41,8 +41,20 @@
<div name="button_box" position="inside">
<button class="oe_stat_button" name="%(act_hr_timesheet_line_by_project)d" type="action" icon="fa-calendar" string="Timesheets" attrs="{'invisible': [('allow_timesheets', '=', False)]}" groups="hr_timesheet.group_hr_timesheet_user"/>
</div>
- <xpath expr="//group[@name='extra_settings']" position="inside">
- <field name="allow_timesheets"/>
+ <xpath expr="//div[@id='rating_settings']/.." position="before">
+ <div class="row mt16 o_settings_container">
+ <div class="col-lg-6 o_setting_box" id="timesheet_settings">
+ <div class="o_setting_left_pane">
+ <field name="allow_timesheets"/>
+ </div>
+ <div class="o_setting_right_pane">
+ <label for="allow_timesheets" string="Timesheets"/>
+ <div class="text-muted">
+ Log time on tasks
+ </div>
+ </div>
+ </div>
+ </div>
</xpath>
</field>
</record>