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?
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
This question has been flagged
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Mar 23
|
1251 | ||
holidays leaves
Solved
|
|
1
Nov 22
|
1608 | |
|
0
Nov 22
|
1079 | ||
|
1
Feb 22
|
1903 | ||
wrong holiday request unit
Solved
|
|
2
Mar 21
|
910 |