When on leave, the im_status can be either leave_online or leave_offline. This will allow to display a specific icon and a default message when the user is not at the office. The leave can have an out of office message. This message will be displayed in the chat window instead of the user ooo message, and the end date of the leave will be displayed too. Technical details. Right now the im_status access leaves directly to know if a user is on leave or not. An index has been added to optimise this request (thanks to rco). A solution to optimise this would be to compute part of the information in a cron. Task: 1856205
11 lines
342 B
Python
11 lines
342 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import test_access_rights
|
|
from . import test_holidays_flow
|
|
from . import test_hr_leave_type
|
|
from . import test_accrual_allocations
|
|
from . import test_change_department
|
|
from . import test_leave_requests
|
|
from . import test_out_of_office
|