This question has been flagged
1 Reply
3498 Views

I  am trying to modify the leave module in odoo 10. i want to get the leave balances for each leave type separately.Currently what odoo does is to add all the balances of each leave type and give it as a cumulative figure.Any ideas or clues to go about it will be highly appreciated?

Avatar
Discard
Best Answer

Hi,

In the employee form you can see the remaining leaves count in the smart button in the right side of the form. The field that compute the value is remaining_leaves. As you have described in the question, this will be the cumulative sum of all the leave types. 


If you need to see the remaining leaves per leave type, you can just click the smart button which will open the tree view showing the leave types and remaining leaves per leave type.


Thanks

Avatar
Discard