openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #20618
[Bug 1089525] Re: creating holidays the date_to variable is inserted wrong
hello Eduardo Vizcaino Granados,
Checked the issue in trunk and it's not in trunk!!
Please let us know the user timezone you are using.
Thanks,
Purnendu Singh
** Changed in: openobject-addons
Status: New => Incomplete
--
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):
Incomplete
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