Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged

i created a salary rule called Unpaid leave and it depends on a python code like this:

result= worked_days.Unpaid and worked_days.Unpaid.number_of_days*(contract.wage/31) or 0

and the employee took 2 days unpaid leaves

i added the rule to the salay structure of the employee

then in the payslips i compute sheet and show the salary computation tab but the Unpaid leave show as zero inspite of the 2 days leave of that emplayee

is the unpaid number of days is zero? and if not zero why it is not computed in the employee payslip?


Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
12
pro 23
32457
0
lis 16
4814
0
čvc 15
7322
0
bře 15
4267
1
bře 15
12556