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.
hi. Any one please tell me how to reduce the salary of an employee who take leave.
he/she take one leave in a month , then reduce rs.100 from his salary. Ie then remaining salary is 4900.How to configure this in openerp v7.0.
i assigned a salary rule (Deduction Towards Leave Availed) to salary structure.
there is a field for adding python code in this rule. how to implement my need through python code. please help..
You need to add salary rule to salary structure to deduct (add python code)
then you can deduct from salary depending on number of Unpaid leave taken by employee
and you need to put the condition for this rule (Not Always True )
result=worked_days.Unpaid and worked_days.Unpaid.number_of_days or False
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: 6/14/13, 4:52 AM|
|Seen: 9803 times|
|Last updated: 10/8/15, 6:03 AM|