hello every one,
i need the python code to deduct the employee salary in following scenario.
salary = 10000/-
employee joining date is 21/01/2017 (middle of the month or any date between in month)
I set the contract start date is 21/01/2017 and end date is 20/01/2018.
when i calculate the salary, Odoo is calculating the whole month salary (10000) instead of 10 days. (from 21 to 31th Jan of the month) how can i create the rule in this regard.
Muhammad Kamran