Skip to content

Commit 2b54d3f

Browse files
committed
[ADD] Payroll: Working Schedules
1 parent 855b45e commit 2b54d3f

File tree

7 files changed

+102
-61
lines changed

7 files changed

+102
-61
lines changed

content/applications/hr/employees.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,11 @@ Work organization
105105

106106
Using the drop-down menu, select the default :guilabel:`Company Working Hours`. The default options
107107
are :guilabel:`Standard 40 hours/week`, :guilabel:`Appointment Resource Default Calendar`, and
108-
:guilabel:`Standard 32 hours/week (4 work days, friday free)`.
108+
:guilabel:`Standard 32 hours/week (4 work days, Friday free)`.
109109

110-
The available working hours listed are the same as the configured :ref:`working schedules
111-
<payroll/working-times>` in the **Payroll** app. Working hours can be created and modified from both
112-
the **Payroll** and **Employees** apps.
110+
The available working hours listed are the same as the configured :doc:`working schedules
111+
<payroll/working_schedules>` in the **Payroll** app. Working hours can be created and modified from
112+
both the **Payroll** and **Employees** apps.
113113

114114
Employee update rights
115115
----------------------

content/applications/hr/payroll.rst

Lines changed: 2 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -302,58 +302,6 @@ Reporting section
302302
:align: center
303303
:alt: New work entry type form with all fields to be filled in.
304304

305-
.. _payroll/working-times:
306-
307-
Working schedules
308-
-----------------
309-
310-
To view the currently configured working schedules, go to :menuselection:`Payroll app -->
311-
Configuration --> Work Entries --> Working Schedules`. The working schedules that are available for
312-
an employee's contracts are found in this list.
313-
314-
Working schedules are company-specific. Each company **must** identify each type of working schedule
315-
they use. If the database is created for only one company, the company column is not available.
316-
317-
.. example::
318-
An Odoo database containing multiple companies that use a standard 40-hour work week needs to
319-
have a separate working schedule entry for each company that uses the 40-hour standard work week.
320-
321-
A database with five companies that all use a standard 40-hour work week needs to have five
322-
separate 40-hour working schedules configured.
323-
324-
.. image:: payroll/working-schedules.png
325-
:align: center
326-
:alt: All working schedules available to use currently set up in the database for the company.
327-
328-
.. _payroll/new-working-schedule:
329-
330-
New working schedule
331-
~~~~~~~~~~~~~~~~~~~~
332-
333-
To create a new working schedule, click the :guilabel:`New` button, and enter the information on the
334-
form.
335-
336-
The fields are auto-populated for a regular 40-hour work week but can be modified. First, change the
337-
name of the working time by modifying the text in the :guilabel:`Name` field. Next, make any
338-
adjustments to the days and times that apply to the new working time.
339-
340-
In the :guilabel:`Working Hours` tab, modify the :guilabel:`Day of Week`, :guilabel:`Day Period`,
341-
and :guilabel:`Work Entry Type` selections by clicking on the drop-down menus in each column and
342-
making the desired selection. The :guilabel:`Work From` and :guilabel:`Work To` columns are modified
343-
by typing in the time.
344-
345-
.. note::
346-
The :guilabel:`Work From` and :guilabel:`Work To` times must be in a 24-hour format. For example,
347-
`2:00 PM` would be entered as `14:00`.
348-
349-
If the working time should be in a two-week configuration, click the :guilabel:`Switch to 2 weeks
350-
calendar` button in the top-left. This creates entries for an :guilabel:`Even week` and an
351-
:guilabel:`Odd week`.
352-
353-
.. image:: payroll/new-working-schedule.png
354-
:align: center
355-
:alt: New working schedule form.
356-
357305
Salary
358306
======
359307

@@ -895,6 +843,7 @@ form.
895843
.. seealso::
896844
- :doc:`payroll/contracts`
897845
- :doc:`payroll/work_entries`
846+
- :doc:`payroll/working_schedules`
898847
- :doc:`payroll/time_off_to_report`
899848
- :doc:`payroll/salary_attachments`
900849
- :doc:`payroll/payslips`
@@ -910,6 +859,7 @@ form.
910859

911860
payroll/contracts
912861
payroll/work_entries
862+
payroll/working_schedules
913863
payroll/time_off_to_report
914864
payroll/salary_attachments
915865
payroll/payslips
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
=================
2+
Working schedules
3+
=================
4+
5+
In Odoo, *working schedules* determine the hours employees are expected to work, according to their
6+
:doc:`contract <contracts>`, and informs the **Payroll** app how to compute work entries, ultimately
7+
affecting salaries and payslips. It is necessary to ensure all working schedules for employees are
8+
configured in the database.
9+
10+
.. note::
11+
In Odoo's **Payroll** app, *working schedules* are referred to as *working hours* in :ref:`salary
12+
structures <payroll/structure-types>`.
13+
14+
To view the currently configured working schedules, navigate to :menuselection:`Payroll app -->
15+
Configuration --> Working Schedules`, and the :guilabel:`Working Schedules` dashboard loads.
16+
17+
Working schedules are company-specific. In a multi-company database, each company **must** identify
18+
each type of working schedule they use. If the database is created for only one company, the
19+
:guilabel:`Company` column is not available.
20+
21+
.. example::
22+
An Odoo database containing multiple companies that use a standard 40-hour work week needs to
23+
have a separate working schedule entry for each company that uses the 40-hour standard work week.
24+
25+
A database with five companies that all use a standard 40-hour work week needs to have five
26+
separate 40-hour working schedules configured.
27+
28+
.. image:: working_schedules/working-schedules.png
29+
:alt: All working schedules available to use currently set up in the database for the company.
30+
31+
.. _payroll/new-working-schedule:
32+
33+
New working schedule
34+
====================
35+
36+
To create a new working schedule, click the :guilabel:`New` button on the :guilabel:`Working
37+
Schedules` dashboard. The :guilabel:`Working Schedules` form has two sections, a general information
38+
section and a :guilabel:`Working Hours` tab listing out all the individual working hours by day and
39+
time.
40+
41+
Fill out the following information on the top-half of the form:
42+
43+
- :guilabel:`Name`: Type in the name for the new default working schedule. This should be
44+
descriptive and clear to understand, such as `Standard 20 Hours/Week`.
45+
- :guilabel:`Flexible Hours`: Tick this checkbox if employees can work different hours from the
46+
working schedule.
47+
- :guilabel:`Company Full Time`: Enter the number of hours per week an employee would need to work
48+
to be considered a full-time employee. Typically, this is approximately 40 hours, and this number
49+
affects what types of benefits an employee can receive, based on their employment status
50+
(full-time vs part-time).
51+
- :guilabel:`Average Hour Per Day`: The average hours per day field is auto-populated, based on the
52+
working hours configured in the :guilabel:`Working Hours` tab. This entry affects resource
53+
planning, since the average daily hours affect what resources can be used, and in what quantity,
54+
per workday.
55+
- :guilabel:`Work Time Rate`: This percentage is auto-generated based on the entry for the
56+
:guilabel:`Company Full Time` and the working hours configured in the :guilabel:`Working Hours`
57+
tab. This number should be between `0.00%` and `100%`, so if the percentage is above `100%`, it is
58+
an indication that the working times and/or :guilabel:`Company Full Time` hours need adjustment.
59+
- :guilabel:`Company`: Select the company that can use these new default working hours from the
60+
drop-down menu. A blank field indicates it is available for all companies.
61+
- :guilabel:`Timezone`: Select the time zone to be used for the new default working hours from the
62+
drop-down menu.
63+
64+
Next, configure the individual hours in the :guilabel:`Working Hours` tab. This tab lists the
65+
specific working hours for each day.
66+
67+
The :guilabel:`Working Hours` are auto-populated for a default 40-hour work week, with each day
68+
divided into three timed sections.
69+
70+
Every day has morning (8:00-12:00), lunch (12:00-13:00), and evening (13:00-17:00) hours configured.
71+
72+
.. note::
73+
The :guilabel:`Work From` and :guilabel:`Work To` times **must** be in a 24-hour format. For
74+
example, `2:00 PM` is entered as `14:00`.
75+
76+
Modify the :guilabel:`Day of Week`, :guilabel:`Day Period`, and :guilabel:`Work Entry Type`
77+
selections by clicking on the drop-down menus in each column and making the desired selection. The
78+
:guilabel:`Work From` and :guilabel:`Work To` columns are modified by typing in the time.
79+
80+
.. important::
81+
Keep in mind, working hours are company-specific, and **cannot** be shared between companies.
82+
Each company needs to have its own working hours set.
83+
84+
.. tip::
85+
If the working hours are not consistent each week, and the hours are on a bi-weekly schedule
86+
instead, click the :guilabel:`Switch to 2 week calendar` button at the top of the new default
87+
working hours form. This changes the :guilabel:`Working Hours` tab to display two weeks of
88+
working times that can be adjusted.
89+
90+
.. image:: working_schedules/new-working-schedule.png
91+
:alt: New working schedule form.

content/applications/hr/time_off.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -453,13 +453,13 @@ Enter the following information on that new line:
453453
- :guilabel:`Start Date`: Using the date and time picker, select the date and time the holiday
454454
starts, then click :icon:`fa-check` :guilabel:`Apply`. By default, this field is configured for
455455
the current date. The start time is set according to the start time for the company (according to
456-
the :ref:`working schedules <payroll/working-times>`). If the user's computer is set to a
456+
the :doc:`working schedules <payroll/working_schedules>`). If the user's computer is set to a
457457
different time zone, the start time is adjusted accordingly, compared to the company's time zone.
458458
- :guilabel:`End Date`: Using the date and time picker, select the date and time the holiday ends,
459459
then click :icon:`fa-check` :guilabel:`Apply`. By default, this field is configured for the
460-
current date, and the time is set to the end time for the company (according to the :ref:`working
461-
schedules <payroll/working-times>`). If the user's computer is set to a different time zone, the
462-
start time is adjusted accordingly, compared to the company's time zone.
460+
current date, and the time is set to the end time for the company (according to the :doc:`working
461+
schedules <payroll/working_schedules>`). If the user's computer is set to a different time zone,
462+
the start time is adjusted accordingly, compared to the company's time zone.
463463

464464
.. example::
465465
A company located in San Francisco operates from 9:00 AM - 6:00 PM, with an eight hour work day

content/applications/services/planning.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ To create individual :guilabel:`Working Hours`, for example, for employees worki
107107
**Payroll**, if the employee's contract is configured to generate work entries based on shifts.
108108

109109
.. seealso::
110-
:ref:`Payroll documentation on working schedules <payroll/working-times>`
110+
:doc:`../hr/payroll/working_schedules`
111111

112112
Planning roles
113113
~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)