24f377b0ee6194ef45bb2ee8707ef11e83356ad5
Steps to reproduce: ------------------- - go to the hr leave form; - select "By Employee" mode; - select an employee-based leave type; (example: Paid Time Off (20 remaining out of 20 days)) - change mode with "By Company"; Issue: ------ A specific leave to one employee can be validated for all employees of a company. Cause: ------ The `_compute_from_employee_id` method does not set the `holiday_status_id` field to `False` in this case. Solution: --------- When we detect an `employee_id` change and it is `False`, we must remove the current `holiday_status_id`. opw-3386332 closes odoo/odoo#129653 X-original-commit: a7a8e78103962844d7d3752d41f9ca4b22165569 Signed-off-by: Sofie Gvaladze (sgv) <sgv@odoo.com> Signed-off-by: Thomas Lefebvre (thle) <thle@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%