I want to generate payslips which takes the total wage and divide it to 30 and then multiply it by the number of days the employee work (which are equal to 30- leaves )
how can i achieve this
I want to generate payslips which takes the total wage and divide it to 30 and then multiply it by the number of days the employee work (which are equal to 30- leaves )
how can i achieve this
Here is a condition that you should add friend:
choose python code and put this condition:
result=worked_days.Unpaid and worked_days.Unpaid.number_of_days or False
and then working correctly
this link may help you in this problem
http://help.openerp.com/question/14645/unpaid-leaves-is-not-decrease-in-the-salary-computation/#14782
Regards.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.