วันหยุดนักขัตฤกษ์¶
Since holidays vary by country, region, and even city, Odoo's Time Off app does not include any public holidays by default. To account for public or national holidays, configure the observed holidays in Odoo so employees can receive the appropriate days off.
Configuring public holidays helps employees clearly see their non-working days and prevents unnecessary time off requests for dates already designated as holidays.
Public holidays configured in the Time Off app are also reflected across other Odoo apps that use working schedules, including Calendar, Planning, Manufacturing, and more.
Because of Odoo's integration across these apps, configuring all public holidays is considered best practice.
Create public holidays¶
To create a public holiday, navigate to . All currently configured public holidays appear in a default list view.
Click the New button and a new line appears at the bottom of the list.
Enter the following information on that new line:
Name: Enter the name of the holiday.
Company: If in a multi-company database, the current company populates this field by default. It is not possible to edit this field.
Note
The Company field is hidden, by default. To view this field, click the (settings adjusts) icon in the top-right corner of the list, to the far-right of the column titles, and activate the Company selection from the drop-down menu that appears.
Start Date: Using the date and time picker, select the date and time the holiday starts, then click Apply. By default, this field is configured for the current date, with a start time of
12:00 AM.End Date: Using the date and time picker, select the date and time the holiday ends, then click Apply. By default, this field is configured for the current date, with an end time of
11:59 PM.Note
It is not recommended to change the public holiday hours of
12:00 AMto11:59 PM. This ensures all employees working all shifts receive the public holiday.Working Hours: If the holiday should only apply to employees who have a specific set of working hours, select the working hours using the drop-down menu. If left blank, the holiday applies to all employees.
Work Entry Type: If using the Payroll app, this field defines how the work entries for the holiday appear. Select the work entry type using the drop-down menu.