← Back to team overview

openerp-india team mailing list archive

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

 

** Description changed:

- if the employee's schedule is split
+ if the employee's schedule is split in two shifts
  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
+ when inserting an absence in the hr_holidays like this:
+ 8:30 to 19:00 
+ in the worked day, I mean, is going to be a full abscence in the whole  work day.
  
  ERROR
- The end of the inserted absence of at 01:00 in the postgresql
+ When inserting the abscense in postgresql, it stores 1:00 am from the following day instead the correct hour (in this case 19:00)
+ 
+ I believe that the system is doing the following operation:
  16:30 + 8:30 hours worked = 25 hours = 1 am following day
  
  this happens in the module hr_holidays
  also affecting hr_payroll

** Description changed:

  if the employee's schedule is split in two shifts
  example
  8:30 to 14:30 = 6:00 hours
  16:30 to 19:00 = 2:30 hours
- 8:30 total hours worked
+ 8:30 hours per day
  
  when inserting an absence in the hr_holidays like this:
- 8:30 to 19:00 
+ 8:30 to 19:00
  in the worked day, I mean, is going to be a full abscence in the whole  work day.
  
  ERROR
  When inserting the abscense in postgresql, it stores 1:00 am from the following day instead the correct hour (in this case 19:00)
  
  I believe that the system is doing the following operation:
  16:30 + 8:30 hours worked = 25 hours = 1 am following day
  
  this happens in the module hr_holidays
  also affecting hr_payroll

-- 
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 in two shifts
  example
  8:30 to 14:30 = 6:00 hours
  16:30 to 19:00 = 2:30 hours
  8:30 hours per day

  when inserting an absence in the hr_holidays like this:
  8:30 to 19:00
  in the worked day, I mean, is going to be a full abscence in the whole  work day.

  ERROR
  When inserting the abscense in postgresql, it stores 1:00 am from the following day instead the correct hour (in this case 19:00)

  I believe that the system is doing the following operation:
  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


References