056e5b3c1cefb1f66b1408367d9d26ef6bf5a08d
Versions -------- - 16.0+ Steps ----- 1. Create a leave spanning multiple days; 2. create a public holiday that falls inside that leave; 3. check leave in list view & form view. Issue ----- The leave's duration no longer matches between the two views. In form view, the duration was updated, in list view, it remained unchanged. Cause ----- There's nothing to trigger a recomputation of duration_display when adding/removing leaves. Solution -------- The `number_of_days` field is kept up to date by the usage of `add_to_compute` when modifying leaves. The same can be done for the `duration_display` field. opw-3642500 closes odoo/odoo#158296 X-original-commit: 1327b8014df79a488b1f7c1b909944ac8faff426 Signed-off-by: Bertrand Dossogne (bedo) <bedo@odoo.com> Signed-off-by: Levi Siuzdak <sile@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%