827cd6218e86c55370dcb75745ca7696961231a4
Before this commit, some specific cases in the leave creation would lead to an error due to an assert. This commit replaces that assert with a 'if' statement returning the initial date_to if the requirements are not met. A more thorough description of the conditions is set as commentary of the `_get_fr_date_to` method. task-3344770 closes odoo/odoo#126304 X-original-commit: d5642b088b37614e733b717989c12f9930b6e4ee 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%