mirror of
https://github.com/odoo/documentation.git
synced 2025-12-12 07:29:27 +07:00
[ADD] Payroll: Working Schedules
closes odoo/documentation#15014
X-original-commit: 1c31d8b00a
Signed-off-by: Felicia Kuan (feku) <feku@odoo.com>
Signed-off-by: Lara Martini (larm) <larm@odoo.com>
This commit is contained in:
@@ -105,11 +105,11 @@ Work organization
|
|||||||
|
|
||||||
Using the drop-down menu, select the default :guilabel:`Company Working Hours`. The default options
|
Using the drop-down menu, select the default :guilabel:`Company Working Hours`. The default options
|
||||||
are :guilabel:`Standard 40 hours/week`, :guilabel:`Appointment Resource Default Calendar`, and
|
are :guilabel:`Standard 40 hours/week`, :guilabel:`Appointment Resource Default Calendar`, and
|
||||||
:guilabel:`Standard 32 hours/week (4 work days, friday free)`.
|
:guilabel:`Standard 32 hours/week (4 work days, Friday free)`.
|
||||||
|
|
||||||
The available working hours listed are the same as the configured :ref:`working schedules
|
The available working hours listed are the same as the configured :doc:`working schedules
|
||||||
<payroll/working-times>` in the **Payroll** app. Working hours can be created and modified from both
|
<payroll/working_schedules>` in the **Payroll** app. Working hours can be created and modified from
|
||||||
the **Payroll** and **Employees** apps.
|
both the **Payroll** and **Employees** apps.
|
||||||
|
|
||||||
Employee update rights
|
Employee update rights
|
||||||
----------------------
|
----------------------
|
||||||
|
|||||||
@@ -66,52 +66,18 @@ Payroll
|
|||||||
Working schedules
|
Working schedules
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
To view the currently configured working schedules, go to :menuselection:`Payroll app -->
|
When creating payslips, it is sometimes necessary to add other entries for specific circumstances,
|
||||||
Configuration --> Work Entries --> Working Schedules`. The working schedules that are available for
|
like expenses, reimbursements, or deductions. These other inputs can be configured by navigating to
|
||||||
an employee's contracts are found in this list.
|
:menuselection:`Payroll app --> Configuration --> Salary --> Other Input Types`.
|
||||||
|
|
||||||
Working schedules are company-specific. Each company **must** identify each type of working schedule
|
To create a new input type, click the :guilabel:`New` button. Enter the :guilabel:`Description`, the
|
||||||
they use. If the database is created for only one company, the company column is not available.
|
:guilabel:`Code`, and which structure it applies to in the :guilabel:`Availability in Structure`
|
||||||
|
field.
|
||||||
|
|
||||||
.. example::
|
.. important::
|
||||||
An Odoo database containing multiple companies that use a standard 40-hour work week needs to
|
The :guilabel:`Code` is used in the salary rules to compute payslips. If the
|
||||||
have a separate working schedule entry for each company that uses the 40-hour standard work week.
|
:guilabel:`Availability in Structure` field is left blank, it indicates that the new input type
|
||||||
|
is available for all payslips and is not exclusive to a specific structure.
|
||||||
A database with five companies that all use a standard 40-hour work week needs to have five
|
|
||||||
separate 40-hour working schedules configured.
|
|
||||||
|
|
||||||
.. image:: payroll/working-schedules.png
|
|
||||||
:align: center
|
|
||||||
:alt: All working schedules available to use currently set up in the database for the company.
|
|
||||||
|
|
||||||
.. _payroll/new-working-schedule:
|
|
||||||
|
|
||||||
New working schedule
|
|
||||||
~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
To create a new working schedule, click the :guilabel:`New` button, and enter the information on the
|
|
||||||
form.
|
|
||||||
|
|
||||||
The fields are auto-populated for a regular 40-hour work week but can be modified. First, change the
|
|
||||||
name of the working time by modifying the text in the :guilabel:`Name` field. Next, make any
|
|
||||||
adjustments to the days and times that apply to the new working time.
|
|
||||||
|
|
||||||
In the :guilabel:`Working Hours` tab, modify the :guilabel:`Day of Week`, :guilabel:`Day Period`,
|
|
||||||
and :guilabel:`Work Entry Type` selections by clicking on the drop-down menus in each column and
|
|
||||||
making the desired selection. The :guilabel:`Work From` and :guilabel:`Work To` columns are modified
|
|
||||||
by typing in the time.
|
|
||||||
|
|
||||||
.. note::
|
|
||||||
The :guilabel:`Work From` and :guilabel:`Work To` times must be in a 24-hour format. For example,
|
|
||||||
`2:00 PM` would be entered as `14:00`.
|
|
||||||
|
|
||||||
If the working time should be in a two-week configuration, click the :guilabel:`Switch to 2 weeks
|
|
||||||
calendar` button in the top-left. This creates entries for an :guilabel:`Even week` and an
|
|
||||||
:guilabel:`Odd week`.
|
|
||||||
|
|
||||||
.. image:: payroll/new-working-schedule.png
|
|
||||||
:align: center
|
|
||||||
:alt: New working schedule form.
|
|
||||||
|
|
||||||
.. _payroll/salary-attachment-types:
|
.. _payroll/salary-attachment-types:
|
||||||
|
|
||||||
@@ -391,6 +357,7 @@ form.
|
|||||||
- :doc:`payroll/contracts`
|
- :doc:`payroll/contracts`
|
||||||
- :doc:`payroll/salaries`
|
- :doc:`payroll/salaries`
|
||||||
- :doc:`payroll/work_entries`
|
- :doc:`payroll/work_entries`
|
||||||
|
- :doc:`payroll/working_schedules`
|
||||||
- :doc:`payroll/time_off_to_report`
|
- :doc:`payroll/time_off_to_report`
|
||||||
- :doc:`payroll/salary_attachments`
|
- :doc:`payroll/salary_attachments`
|
||||||
- :doc:`payroll/payslips`
|
- :doc:`payroll/payslips`
|
||||||
@@ -407,6 +374,7 @@ form.
|
|||||||
payroll/contracts
|
payroll/contracts
|
||||||
payroll/salaries
|
payroll/salaries
|
||||||
payroll/work_entries
|
payroll/work_entries
|
||||||
|
payroll/working_schedules
|
||||||
payroll/time_off_to_report
|
payroll/time_off_to_report
|
||||||
payroll/salary_attachments
|
payroll/salary_attachments
|
||||||
payroll/payslips
|
payroll/payslips
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ Proceed to enter the following information in the fields:
|
|||||||
from the drop-down menu. All available working hours for the currently selected company appear in
|
from the drop-down menu. All available working hours for the currently selected company appear in
|
||||||
the drop-down menu. The default working hours are the :guilabel:`Standard 40 hours/week` option.
|
the drop-down menu. The default working hours are the :guilabel:`Standard 40 hours/week` option.
|
||||||
If the needed working hours do not appear in the list, a :ref:`new set of default working hours
|
If the needed working hours do not appear in the list, a :ref:`new set of default working hours
|
||||||
can be created <new-default-working-hours>`.
|
can be created <payroll/new-default-working-hours>`.
|
||||||
- :guilabel:`Regular Pay Structure`: Type in the name for the regular pay structure. It is used as
|
- :guilabel:`Regular Pay Structure`: Type in the name for the regular pay structure. It is used as
|
||||||
the default option when generating payslips.
|
the default option when generating payslips.
|
||||||
- :guilabel:`Default Work Entry Type`: Select the default work entry type which is used to create
|
- :guilabel:`Default Work Entry Type`: Select the default work entry type which is used to create
|
||||||
@@ -90,7 +90,7 @@ Proceed to enter the following information in the fields:
|
|||||||
.. image:: salaries/new-structure.png
|
.. image:: salaries/new-structure.png
|
||||||
:alt: New structure type form to fill out when creating a new structure type.
|
:alt: New structure type form to fill out when creating a new structure type.
|
||||||
|
|
||||||
.. _new-default-working-hours:
|
.. _payroll/new-default-working-hours:
|
||||||
|
|
||||||
New default working hours
|
New default working hours
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|||||||
91
content/applications/hr/payroll/working_schedules.rst
Normal file
91
content/applications/hr/payroll/working_schedules.rst
Normal file
@@ -0,0 +1,91 @@
|
|||||||
|
=================
|
||||||
|
Working schedules
|
||||||
|
=================
|
||||||
|
|
||||||
|
In Odoo, *working schedules* determine the hours employees are expected to work, according to their
|
||||||
|
:doc:`contract <contracts>`, and informs the **Payroll** app how to compute work entries, ultimately
|
||||||
|
affecting salaries and payslips. It is necessary to ensure all working schedules for employees are
|
||||||
|
configured in the database.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
In Odoo's **Payroll** app, *working schedules* are referred to as *working hours* in :ref:`salary
|
||||||
|
structures <payroll/structure-types>`.
|
||||||
|
|
||||||
|
To view the currently configured working schedules, navigate to :menuselection:`Payroll app -->
|
||||||
|
Configuration --> Working Schedules`, and the :guilabel:`Working Schedules` dashboard loads.
|
||||||
|
|
||||||
|
Working schedules are company-specific. In a multi-company database, each company **must** identify
|
||||||
|
each type of working schedule they use. If the database is created for only one company, the
|
||||||
|
:guilabel:`Company` column is not available.
|
||||||
|
|
||||||
|
.. example::
|
||||||
|
An Odoo database containing multiple companies that use a standard 40-hour work week needs to
|
||||||
|
have a separate working schedule entry for each company that uses the 40-hour standard work week.
|
||||||
|
|
||||||
|
A database with five companies that all use a standard 40-hour work week needs to have five
|
||||||
|
separate 40-hour working schedules configured.
|
||||||
|
|
||||||
|
.. image:: working_schedules/working-schedules.png
|
||||||
|
:alt: All working schedules available to use currently set up in the database for the company.
|
||||||
|
|
||||||
|
.. _payroll/new-working-schedule:
|
||||||
|
|
||||||
|
New working schedule
|
||||||
|
====================
|
||||||
|
|
||||||
|
To create a new working schedule, navigate to :menuselection:`Payroll app --> Configuration -->
|
||||||
|
Working Schedules`, and click :guilabel:`New`. The :guilabel:`Working Schedules` form has two
|
||||||
|
sections, a general information section and a :guilabel:`Working Hours` tab listing out all the
|
||||||
|
individual working hours by day and time.
|
||||||
|
|
||||||
|
Fill out the following information on the top-half of the form:
|
||||||
|
|
||||||
|
- :guilabel:`Name`: Type in the name for the new default working schedule. This should be
|
||||||
|
descriptive and clear to understand, such as `Standard 20 Hours/Week`.
|
||||||
|
- :guilabel:`Flexible Hours`: Tick this checkbox if employees can work different hours from the
|
||||||
|
working schedule.
|
||||||
|
- :guilabel:`Company Full Time`: Enter the number of hours per week an employee would need to work
|
||||||
|
to be considered a full-time employee. Typically, this is approximately 40 hours, and this number
|
||||||
|
affects what types of benefits an employee can receive, based on their employment status
|
||||||
|
(full-time vs part-time).
|
||||||
|
- :guilabel:`Average Hour Per Day`: The average hours per day field is auto-populated, based on the
|
||||||
|
working hours configured in the :guilabel:`Working Hours` tab. This entry affects resource
|
||||||
|
planning, since the average daily hours affect what resources can be used, and in what quantity,
|
||||||
|
per workday.
|
||||||
|
- :guilabel:`Work Time Rate`: This percentage is auto-generated based on the entry for the
|
||||||
|
:guilabel:`Company Full Time` and the working hours configured in the :guilabel:`Working Hours`
|
||||||
|
tab. This number should be between `0.00%` and `100%`, so if the percentage is above `100%`, it is
|
||||||
|
an indication that the working times and/or :guilabel:`Company Full Time` hours need adjustment.
|
||||||
|
- :guilabel:`Company`: Select the company that can use these new default working hours from the
|
||||||
|
drop-down menu. A blank field indicates it is available for all companies.
|
||||||
|
- :guilabel:`Timezone`: Select the time zone to be used for the new default working hours from the
|
||||||
|
drop-down menu.
|
||||||
|
|
||||||
|
Next, configure the individual hours in the :guilabel:`Working Hours` tab. This tab lists the
|
||||||
|
specific working hours for each day.
|
||||||
|
|
||||||
|
The :guilabel:`Working Hours` are auto-populated for a default 40-hour work week, with each day
|
||||||
|
divided into three timed sections.
|
||||||
|
|
||||||
|
Every day has morning (8:00-12:00), lunch (12:00-13:00), and evening (13:00-17:00) hours configured.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
The :guilabel:`Work From` and :guilabel:`Work To` times **must** be in a 24-hour format. For
|
||||||
|
example, `2:00 PM` is entered as `14:00`.
|
||||||
|
|
||||||
|
Modify the :guilabel:`Day of Week`, :guilabel:`Day Period`, and :guilabel:`Work Entry Type`
|
||||||
|
selections by clicking on the drop-down menus in each column and making the desired selection. The
|
||||||
|
:guilabel:`Work From` and :guilabel:`Work To` columns are modified by typing in the time.
|
||||||
|
|
||||||
|
.. important::
|
||||||
|
Keep in mind, working hours are company-specific, and **cannot** be shared between companies.
|
||||||
|
Each company needs to have its own working hours set.
|
||||||
|
|
||||||
|
.. tip::
|
||||||
|
If the working hours are not consistent each week, and the hours are on a bi-weekly schedule
|
||||||
|
instead, click the :guilabel:`Switch to 2 week calendar` button at the top of the new default
|
||||||
|
working hours form. This changes the :guilabel:`Working Hours` tab to display two weeks of
|
||||||
|
working times that can be adjusted.
|
||||||
|
|
||||||
|
.. image:: working_schedules/new-working-schedule.png
|
||||||
|
:alt: New working schedule form.
|
||||||
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
@@ -453,13 +453,13 @@ Enter the following information on that new line:
|
|||||||
- :guilabel:`Start Date`: Using the date and time picker, select the date and time the holiday
|
- :guilabel:`Start Date`: Using the date and time picker, select the date and time the holiday
|
||||||
starts, then click :icon:`fa-check` :guilabel:`Apply`. By default, this field is configured for
|
starts, then click :icon:`fa-check` :guilabel:`Apply`. By default, this field is configured for
|
||||||
the current date. The start time is set according to the start time for the company (according to
|
the current date. The start time is set according to the start time for the company (according to
|
||||||
the :ref:`working schedules <payroll/working-times>`). If the user's computer is set to a
|
the :doc:`working schedules <payroll/working_schedules>`). If the user's computer is set to a
|
||||||
different time zone, the start time is adjusted accordingly, compared to the company's time zone.
|
different time zone, the start time is adjusted accordingly, compared to the company's time zone.
|
||||||
- :guilabel:`End Date`: Using the date and time picker, select the date and time the holiday ends,
|
- :guilabel:`End Date`: Using the date and time picker, select the date and time the holiday ends,
|
||||||
then click :icon:`fa-check` :guilabel:`Apply`. By default, this field is configured for the
|
then click :icon:`fa-check` :guilabel:`Apply`. By default, this field is configured for the
|
||||||
current date, and the time is set to the end time for the company (according to the :ref:`working
|
current date, and the time is set to the end time for the company (according to the :doc:`working
|
||||||
schedules <payroll/working-times>`). If the user's computer is set to a different time zone, the
|
schedules <payroll/working_schedules>`). If the user's computer is set to a different time zone,
|
||||||
start time is adjusted accordingly, compared to the company's time zone.
|
the start time is adjusted accordingly, compared to the company's time zone.
|
||||||
|
|
||||||
.. example::
|
.. example::
|
||||||
A company located in San Francisco operates from 9:00 AM - 6:00 PM, with an eight hour work day
|
A company located in San Francisco operates from 9:00 AM - 6:00 PM, with an eight hour work day
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ To create individual :guilabel:`Working Hours`, for example, for employees worki
|
|||||||
**Payroll**, if the employee's contract is configured to generate work entries based on shifts.
|
**Payroll**, if the employee's contract is configured to generate work entries based on shifts.
|
||||||
|
|
||||||
.. seealso::
|
.. seealso::
|
||||||
:ref:`Payroll documentation on working schedules <payroll/working-times>`
|
:doc:`../hr/payroll/working_schedules`
|
||||||
|
|
||||||
Planning roles
|
Planning roles
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
|
|||||||
Reference in New Issue
Block a user