470674ead448c2d5a82381514a803e2a09b677df
Prior to this fix, closest_allocation_to_expire was the upcoming allocation regardless whether there were remaining leaves on it or not. That lead to misleading information on the dashboard. For example, let's say user has two allocations and used up the first allocation and has X days left on the second allocation. Still, the user will see that they have left X days (Valid until -- the first allocation expiration date --). Which is misleading, Instead they should see X days (Valid until -- the second allocation expiration date --). task - 2978789 closes odoo/odoo#103813 X-original-commit: dee3552659bec78fbbce4e8af155b3259e721dbd Signed-off-by: Kevin Baptiste <kba@odoo.com>
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%