hr_timesheet_sheet's can overlap by one day
Bug #887553 reported by
Stéphane Bidoul (Acsone)
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 3 |
Bug Description
The system allows timesheets to overlap by one day.
How to reproduce: install module hr_timesheet_sheet.
I repdroduced with 6.0 but as I read the code, the bug should be present in trunk too.
- create a timesheet from 7/11/2011 to 13/11/2011
- create a timesheet from 12/11/2011 to 19/11/2011 -> the system produces an error about overlapping timesheet; this is correct.
- create a timesheet from 13/11/2011 to 19/11/2011 -> no error, this is incorrect, since the timesheet overlaps with the first one on 13/11/2011
A proposed patch against 6.0 is attached.
-sbi
Related branches
lp:~openerp-dev/openobject-addons/trunk-bug-887553-bde
- OpenERP Core Team: Pending requested
-
Diff: 21 lines (+2/-2)1 file modifiedhr_timesheet_sheet/hr_timesheet_sheet.py (+2/-2)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Hello Stéphane Bidoul,
Thanks for reporting and contributing.
The solution of this bug is applied in branch lp:~openerp-dev/openobject-addons/trunk-bug-887553-bde
with following Revision ID and Number:
Revision ID : <email address hidden>
Revision Number : 5538
The solution will be merged in main addons soon.
Thanks & Regards,
Devnani Bharat R.