[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
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.
Related branches
lp:~openerp-dev/openobject-addons/7.0-opw-592631-ado
- Naresh(OpenERP) (community): Approve
- Stefan Rijnhart (Opener) (community): Approve
- Amit Dodiya (OpenERP) (community): Needs Resubmitting
- Yannick Vaucher @ Camptocamp (community): Approve (test, code)
- OpenERP Core Team: Pending requested
-
Diff: 51 lines (+29/-6)1 file modifiedhr_timesheet_sheet/hr_timesheet_sheet.py (+29/-6)
lp:~camptocamp/ocb-addons/7.0-fix-1180773
- Holger Brunn (Therp): Approve (code review)
- Stefan Rijnhart (Opener): Approve
- Yannick Vaucher @ Camptocamp: Pending (code, test) requested
-
Diff: 51 lines (+29/-6)1 file modifiedhr_timesheet_sheet/hr_timesheet_sheet.py (+29/-6)
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.