[7.0] hr_timesheet_sheet - attendances constraint can be messed up by removing an attendance between 2 others

Bug #1180773 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
OpenERP Community Backports (Addons)
Status tracked in 7.0
7.0
Fix Released
Low
Yannick Vaucher @ Camptocamp

Bug Description

Tested on runbot

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

With "track attendances for all employees"

Let's say I enter the following attendances:

sign in at 06:00
sign out at 12:00
sign in at 13:00
sign out at 16:00

Now I realize the meal taken with the client at noon can be counted in my hours.
So I remove the sign out at 12:00

Now I'm stuck ! And my timesheet is wrong

I cannot edit any attendance. As the constraint will not allow me to do anything.

Tags: maintenance

Related branches

Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Changed in openobject-addons:
status: New → Fix Committed
Changed in openobject-addons:
importance: Undecided → Low
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.