← Back to team overview

openerp-india team mailing list archive

[Bug 1089525] [NEW] creating holidays the date_to variable is inserted wrong

 

Public bug reported:

if the employee's schedule is split
example
8:30 to 14:30 = 6:00 hours
16:30 to 19:00 = 2:30 hours
8:30 total hours worked

to insert an absence in the hr_holidays
8:30 to 19:00 every business day

ERROR
The end of the inserted absence of at 01:00 in the postgresql
16:30 + 8:30 hours worked = 25 hours = 1 am following day

this happens in the module hr_holidays
also affecting hr_payroll

** Affects: openobject-addons
     Importance: Undecided
         Status: New


** Tags: holidays

** Attachment added: "error ausencia.png"
   https://bugs.launchpad.net/bugs/1089525/+attachment/3458544/+files/error%20ausencia.png

** Summary changed:

- creating holydays the date_to variable is inserted wrong
+ creating holidays the date_to variable is inserted wrong

-- 
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/1089525

Title:
  creating holidays the date_to variable is inserted wrong

Status in OpenERP Addons (modules):
  New

Bug description:
  if the employee's schedule is split
  example
  8:30 to 14:30 = 6:00 hours
  16:30 to 19:00 = 2:30 hours
  8:30 total hours worked

  to insert an absence in the hr_holidays
  8:30 to 19:00 every business day

  ERROR
  The end of the inserted absence of at 01:00 in the postgresql
  16:30 + 8:30 hours worked = 25 hours = 1 am following day

  this happens in the module hr_holidays
  also affecting hr_payroll

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1089525/+subscriptions


Follow ups

References