Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
How to calculate Unpaid Leave, it is not reducing in the Net salary, i also tried in the salary rule for the following formula
I put this calculation but I get server error. anybody help me.
Thanks & Regards Sridharan G Chennai
In additional to '@Mustufa Rangwala' solution you need to add condition to avoid error when employee do not have any unpaid leave I was explain that at this link:
Hi...My requirement is result = total wage will be divided into total working days of month * total present days of employee of this month..I have a own modules and it contains total working day and total present of month for each employee..Kindly tell me the solution to achieve my result
First of all you have to create Leave type called "Unpaid" and then create Leave request for employee and approve it.
After creating leave type and leave request you have to create salary rule and add that rule on employee salary structure..
Now create Payslip it will come overthere.
Regards, Mustufa Rangwala
for Basic LWP I have set condition "result=worked_days.Unpaid and worked_days.Unpaid.number_of_days or False" and computation "result = -(contract.wage *.4)/((worked_days.Unpaid.number_of_days+worked_days.WORK100.number_of_days) * worked_days.Unpaid.number_of_days)"...its works fine in Payslip...but through Batch its reflect nothing...any suggestion ?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 3/26/13, 3:02 AM|
|Seen: 6526 times|
|Last updated: 3/16/15, 8:10 AM|