From 390aa7a78d8ca80dbf7e757893fd4f8271156b76 Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Tue, 1 Dec 2015 10:57:21 +0100 Subject: [PATCH] [FIX] hr_timesheet_sheet: menu to check past timesheets For a simple employee (meaning, not a HR officer), it wasn't possible to view past timesheets. Indeed, the "Weekly" menu opens the current timesheet, and the menu "Timesheets to approve" is available only for HR officers. opw-657860 --- .../hr_timesheet_sheet_view.xml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml b/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml index 685ba23a4a0..cf3f0a05399 100644 --- a/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml +++ b/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml @@ -194,6 +194,30 @@ + + My Timesheets + hr_timesheet_sheet.sheet + form + tree,form + [('employee_id.user_id', '=', uid)] + + +

+ new timesheet. +

+ You must record timesheets every day and confirm at the end + of the week. Once the timesheet is confirmed, it should be + validated by a manager. +

+ Timesheets can also be invoiced to customers, depending on the + configuration of each project's related contract. +

+
+
+ + + Timesheets to Approve ir.actions.act_window @@ -226,6 +250,7 @@ +