[IMP] hr_timesheet_sheet: improve stat button in timesheet to show Number of hour

(cherry picked from commit fb0edc71c17df3224ba19c9193c58eca67be8ed0)
(closes #2617)
This commit is contained in:
Hitesh Trivedi
2014-10-01 16:07:37 +02:00
committed by Richard Mathot
parent 2e31aa4bf8
commit 85f26244a7
@@ -75,7 +75,7 @@
name="%(act_hr_timesheet_sheet_sheet_2_hr_analytic_timesheet)d"
class="oe_stat_button"
icon="fa-clock-o">
<field name="timesheet_activity_count" widget="statinfo" string="Timesheet" help="Timesheet Activities"/>
<div><strong><field name="total_timesheet" widget="float_time"/></strong><br/>Timesheet</div>
</button>
<button type="action" groups="base.group_hr_attendance"
class="oe_stat_button" icon="fa-users"
@@ -98,7 +98,6 @@
</group>
<group groups="base.group_hr_attendance">
<field name="total_attendance" widget="float_time"/>
<field name="total_timesheet" widget="float_time"/>
<field name="total_difference" widget="float_time"/>
</group>
</group>