Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2404 Zobrazení


i'm an admin user in my company and i enroll check in & out manually for my team on Odoo 11 but it didn't appear in payroll so 1- how can i make pay roll pending on actual attendance ?

2- how to make salary rule pending on number of actual attendance in the company ?


Avatar
Zrušit

If you are looking to deduct the salary based on the leaves, you can follow what jithin has explained in answer, see the video illustration of it: https://www.youtube.com/watch?v=Drr4tDzmsbg

Nejlepší odpověď

Hi Eslam Ahmed, Try like below:

Create salary rule to deduct unpaid leaves pay from payslip.
 payroll -> salaryrules -> create,  add new rule
 - select a rule category:deductions
 - Computation : Python Code.

Python Code :

#Our Computation code to calculate amount In case of 31 days
try:
result =-(contract.wage/31) * worked_days.Unpaid.number_of_days
except:
result = 0
Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
čvc 24
2693
1
čvn 24
5152
1
říj 23
10878
1
říj 23
98
1
srp 23
2194