f53800a17dd1caf9197d6b30f40c8ef5598ddca8
Current behavior: An accrual uses all planned leaves to calculate how many days it can give, even if the leaves are planned in the future and could be cancelled. Desired behavior: An accrual should only take into account leaves that have already been taken or already started, and ignore future leaves. After this commit: New context key 'ignore_future' for method _get_employees_days_per_allocation decides if future leaves should be taken into account or not. Some use cases need to take into account future leaves, others don't. task 3207843 closes odoo/odoo#120456 X-original-commit: d917a406fc7933af852ad5338533b93fc3fd2218 Related: odoo/enterprise#40678 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%