Community mailing list archives
Re: Partial Payroll Processing in V7by
Hello Christophe Combelles,Thanks for the answer, i think it will solve the purpose, when salary is calculated based on hours worked. But what would be the solution if it is calculated on basis of month ?Regards,BharatOn Sun, Jan 25, 2015 at 12:03 AM, Christophe Combelles <email@example.com> wrote:Hi,<blockquote cite="mid:CA+CYr0Ytb5ng2K+CnSYMwsDEiHr9iNPNkdJtgC0e2tUJqwYmMA@mail.gmail.com" type="cite">
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 CombellesLe 24/01/2015 09:33, Bharat Devnani a écrit :
tel +33 185 080 967
mob +33 608 955 845
<img src="cid:firstname.lastname@example.org" alt="" height="30" width="100" border="0">
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,Bharat
Post to: mailto:email@example.com
Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté.