diff options
| author | Hitesh Trivedi <htr@openerp.com> | 2014-09-03 14:29:56 +0530 |
|---|---|---|
| committer | Richard Mathot <rim@openerp.com> | 2014-10-01 16:07:37 +0200 |
| commit | 85f26244a71a0b9a7faa283d6d24fdde6bae899a (patch) | |
| tree | f7a8bfe4056ebb682c678bb1f11685f04f4e3c2f | |
| parent | 2e31aa4bf88f8d287195495967449c26c3af9a3a (diff) | |
[IMP] hr_timesheet_sheet: improve stat button in timesheet to show Number of hour
(cherry picked from commit fb0edc71c17df3224ba19c9193c58eca67be8ed0)
(closes #2617)
| -rw-r--r-- | addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml b/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml index 96de7a6a8b5..4b2e884134e 100644 --- a/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml +++ b/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml @@ -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> |
