← Back to team overview

openerp-india team mailing list archive

[Bug 887553] Re: hr_timesheet_sheet's can overlap by one day

 

Merged into lp:openobject-addons at revision 5546

** Changed in: openobject-addons
       Status: Fix Committed => Fix Released

-- 
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):
  Fix Released

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


References