351bcdbb417930ec8a3cd5d97e9833fb20af1b5e
The icon that is displayed in the employee kanban view is determined by the field hr_icon_display, computed in the method _compute_hr_icon_display. This method is overridden in multiple modules such as hr_holidays, hr_attendance and hr_homeworking. Currently this field has a state to show no icon (presence_undetermined). In this change this state is extracted into the a separate field show_hr_icon_display with the default state of hr_icon_display being presence_to_define. In this way a module such as hr_attendance, which only overrides _compute_hr_icon_display to show the default icon for everyone as a default, now only needs to change this separate field and does not need any knowledge of what other states exist. This reduces coupling between modules.
…
…
…
…
…
…
…
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%