b23fea1b962a335ad94e65d8b971bd2ca995ab79
Adds 2 new modules: l10n_fr_hr_holidays l10n_fr_hr_work_entry_holidays This commit adds modules allowing to compute accurately the number of days off taken by a french part-timer. Both modules will automatically install when hr_holidays is installed and at least one of the companies is located in France In France, when taking a time off using a different calendar from the company's calendar you have to count the days as if you were taking time off in the company calendar. For example let's say you have an employee working only monday through wednesday, if that employee were to take a time off ending with wednesday afternoon, the time off would count up until friday (if the company calendar if monday->friday), so that a whole week is always 5 days regardless of the employee calendar. This is also the case for 'holes' in the employee calendar, for example a calendar where one would work monday, wednesday and friday only. l10n_fr_work_entry_holidays: By default time off only generate work entries for intersections between time off and attendance period, so that when taking a time off for a whole month you wouldn't get work entries on the weekend if you normally don't work that day. But since l10n_fr_hr_holidays computes the number of days it would normally cost with french rules. We also have to make sure that the work entries are generated appropriately. Essentially this modules adds the logic required to fill the holes needed using the company calendar instead of the employee one. OTHER: Fixes a redundant call to super function in hr.leave._get_number_of_days, improving its performance a bit task-2602897 closes odoo/odoo#82637 Related: odoo/enterprise#25805 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com> Co-authored-by: Bertrand Dossogne <bedo@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%