Set the working schedule and the holidays
The working schedule says on which days and hours the team works, and it serves the deadlines of the activities, the planning and the calculation of hours. The holidays go in the time off of the schedule, with the kind and the scope: national, state or municipal. On holidays the schedule counts no hours.
Before you start
Use a user with access to Settings and the developer mode on (see Prepare the company for daily use). The example is Guatambu Móveis e Utilidades Ltda: the store opens Monday to Saturday, from 8h to 12h and from 13h to 17h on weekdays and from 8h to 12h on Saturday, 44 hours a week, which is 40 hours on weekdays plus 4 on Saturday. The average is 7 hours and 20 minutes a day (44 hours / 6 days). The Administrativo 40 horas schedule of the company already has the national holidays of 2027, the state holiday of São Paulo (July 9) and two municipal ones of the capital, Good Friday (03/26/2027) and Corpus Christi (05/27/2027). This applies in Brazil with configuration: the weekly schedule of 44 hours follows the Federal Constitution (art. 7, XIII, with the daily limit of 8 hours in CLT art. 58), the time zone is Brasília, and the national, state and municipal holidays are already registered in the schedule; the city anniversary is registered in the example.
Step by step
1. Create the schedule
Open the Settings app from the apps menu, the Technical menu, choose Working Schedules and click New. Name it Loja 44 horas (segunda a sábado). Check the time zone America/Sao_Paulo and the lines of Monday to Friday, from 8h to 12h and from 13h to 17h.
2. Add Saturday morning
Under Working Hours, click Add a line and fill in the line Sábado de manhã, on the day Saturday, period Morning. Type the working hours from 08:00 to 12:00.
3. Save and check the hours
Save. The average of hours per day appears in the schedule: 07:20, with 44 hours a week in six days. If the hours show earlier or later than expected, choose America/Sao_Paulo in Timezone. If Saturday does not enter the schedule, open the line and fill in the day, the period and the hours.
4. Open the time off of the schedule
In Technical > Working Schedules, open the schedule Administrativo 40 horas and click the Time Off button. The national holidays, the state one and two municipal ones of 2027 are already in the list.
5. Register the city holiday
Click New and, in Reason, type Aniversário da cidade de São Paulo. In Type, choose Holiday and, in Scope, choose Municipal. In Start Date, type 01/25/2027 00:00:00 and, in End Date, 01/25/2027 23:59:59. Save and go back to the list of time off by the breadcrumb at the top. If the holiday appears on the previous day or starts in the middle of the day, check the time zone in the user Preferences and type the date and time again.
6. Group the holidays by scope
Click the arrow of the search box and, under Group By, open Add Custom Group and choose Scope. The list separates the holidays into State (1), Municipal (3) and National (9), 13 holidays in all. A holiday registered in one schedule does not apply to a team that uses another schedule: register it also in the time off of that team's schedule.
Expected result
Schedule Loja 44 horas (segunda a sábado) created in the America/Sao_Paulo time zone, with 44 hours a week in six days and the average of 07:20 per day, ready to be used by the employees of the store. The schedule Administrativo 40 horas has the 13 holidays of 2027, separated by scope: State (1), Municipal (3) and National (9).
If something goes wrong
If the hours show earlier or later than expected, the time zone of the schedule is not the one of São Paulo: choose America/Sao_Paulo in Timezone. If Saturday does not enter the schedule, the line has no day of the week or the hours are blank: fill in the day, the period and the hours. If a holiday appears on the previous day, the user's time zone is different from the one of São Paulo: check it in the Preferences and type the date and time again. If the holiday does not apply to a team, the team uses another schedule: register it also in the time off of that schedule.
Odoo 18 manual
Standard Odoo 18 features used in this task, from the official manual.
