[7.0] hr_timesheet_sheet - attendances can be added on waiting approval and approved timesheets

Bug #1180769 reported by Yannick Vaucher @ Camptocamp
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP Publisher's Warranty Team

Bug Description

Tested on runbot

(Build 11071)
server (4975)
addons (9132)
web (3922)

Using "Track attendances for all employees" in HR settings

If you send a timesheet in approval a bit early, you will still be able to sign in and sign out on that timesheet.

Well we can discuss on this as it is in a field of scenario made by a human error.
Should an employee be able to sign in if he returned to work on the week-end after having validated his timesheet on the friday? More likely, in any case he should ask a manager to reopen his timesheet? I think the timesheet in "Waiting approval" state shouldn't be alterable by the employee.

It also causes some other issues, with such timesheet, let's say the employee sent his timesheet to approval and then added a sign in.

The manager will be able to validate the timesheet as it is. He will have no warning when clicking on "Approve"

Furthermore, when the manager has validated (let's say he did it early as it is a short week in the end of month) the timesheet, the employee will still be able to sign in and sign out on that timesheet!

Tags: maintenance

Related branches

summary: - hr_timesheet_sheet - attendancies can be added on waiting approval and
+ hr_timesheet_sheet - attendances can be added on waiting approval and
approved timesheets
summary: - hr_timesheet_sheet - attendances can be added on waiting approval and
- approved timesheets
+ [7.0] hr_timesheet_sheet - attendances can be added on waiting approval
+ and approved timesheets
Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Changed in openobject-addons:
status: New → Fix Committed
importance: Undecided → Low
Revision history for this message
Martin Trigaux (OpenERP) (mat-openerp) wrote :

Hello,

A fix was merged in 7.0, thanks for the report

revno: 10015 [merge]
revision-id: <email address hidden>

Changed in openobject-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.