openerp-i18n-arabic team mailing list archive
-
openerp-i18n-arabic team
-
Mailing list archive
-
Message #00136
(no subject)
Guys there is a module called ( hr_attendance_analysis ) for Openerp it is designed to calculate the duration of working hours of the company employees depending on the sign-in and sign-out times and comparing them with the time schadual in the employees contract
this is very important as this is the base of calculating payroll in middle east and payroll is useless without this module
basically its community module and it have a small problem
after you install this module
it have 2 main attributes that we are interested in
inside_calendar_duration = worked hours within the assigned working schadual in contract outside_calendar_duration = worked hours outside the assigned working schadual in contract = overtime
the module calculates ( full work duration ) ( duration within working schadual ) ( overtime )
the problem is with calculating the inside_calendar_duration = duration within working schadual
example for the problem
working schadual lets say 8-15 = 7 working hours1)sign-in 8:00 duration = 7 hours , overtime= 0, duration within working schadual = 7 hours sign-out 15:00 this works very good
but the problem is if sign-in doesn't = to the working schadual
example
2) sign-in 9:00 duration = 7 hours , overtime=0 , duration within working schadual = 7 hourssign-out 15:00 this is wrong
the duration should equal to 6 hours but it shows 7 hours the problem here is that the module compare the sign-out from employee with the sign-out contract correctly
but
the module doesn't compare the sign-in from the employee with the sign-in from the contract instead the module always use the contract assigned starting time witch on our example it is 8:00 a.m
so any employee signs in at anytime of the day the module calculate the working hours as if that employee signed-in at 8:00
i don't have python programming experience to fix this problem but i thought i could share this with u guys and if any 1 could help i would appreciate it very much
note: alot of people were referring to time zone issue i am not sure about that tho.as the sign-out works perfectly
thx in advance
Follow ups