Community mailing list archives

Re: Partial Payroll Processing in V7

Anybox, Christophe Combelles
- 01/24/2015 14:59:32

I did that way on v7 :
I assume that there are 150 hours in a month, and the employee has worked 75 hours.
On the relevant salary rules (such as GROSS salary, or others if necessary), define a python computation based on a variable of the payslip :

result = 1457.52 # or your own computation
if worked_days.HOR and worked_days.HOR.number_of_hours:
    result = result/150.0 * worked_days.HOR.number_of_hours

Then, on the generated (but not validated) payslip, just add a line in the worked days tab :

    Description : what you want
    Code : HOR
    Number of hours : 75.0  # the amount you want
    Contract : the corresponding contract.


Christophe Combelles
tel +33 185 080 967
mob +33 608 955 845
<img src="" alt="" height="30" width="100" border="0">

Le 24/01/2015 09:33, Bharat Devnani a écrit :
<blockquote cite="" type="cite">
Dear Community Members,

I came to one test case of Partial Payroll Processing, if some one is hired in Middle of the month say 10th of the month, So how one can process the partial salary ?

At the moment, the system process salary for whole month or doesn't calculate the Worked Days and Inputs.

Any help is appreciated.

Thanks & Regards,

Post to: