bf99c212a055b29a2e60b40b0d0dd982e93ec91a
When timeoff is 1 day or 0.5 days then it was not going to correctly display timeoff number on approval page due to momment. For 1 day leave the date_to and date_from as equal so momment diff will be 0 days and floating is off for diff so not display 0.5 for floating leave. even we enable floating it will display the wrong floating based on 24 hours instead of 8 working hours a day. so get the number_of_days from db and display on leave same as department leave summary. Task-2071031 closes odoo/odoo#39032 X-original-commit: 6953620f507990010c593a0d35d67c81f5b27e47 Signed-off-by: Yannick Tivisse (yti) <yti@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, Purchase Management, ...
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.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%