openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #00659
[Bug 887553] [NEW] hr_timesheet_sheet's can overlap by one day
Public bug reported:
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
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/887553
Title:
hr_timesheet_sheet's can overlap by one day
Status in OpenERP Addons (modules):
New
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/887553/+subscriptions
Follow ups
References