Skip to content

Commit 203bc70

Browse files
committed
[IMP] Payroll: Updating work entries
1 parent 9361b75 commit 203bc70

File tree

5 files changed

+128
-111
lines changed

5 files changed

+128
-111
lines changed

content/applications/hr/payroll.rst

Lines changed: 0 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -197,111 +197,6 @@ list.
197197
:align: center
198198
:alt: The employment types in the database by default, in a list view.
199199

200-
.. _payroll/work-entries:
201-
202-
Work entries
203-
============
204-
205-
A *work entry* is an individual record on an employee's timesheet. Work entries can be configured to
206-
account for all types of work and time off, such as :guilabel:`Attendance`, :guilabel:`Sick Time
207-
Off`, :guilabel:`Training`, or :guilabel:`Public Holiday`.
208-
209-
.. seealso::
210-
:doc:`Manage work entries <payroll/work_entries>`
211-
212-
Work entry types
213-
----------------
214-
215-
When creating a work entry in the *Payroll* application, or when an employee enters new time off types
216-
in *Time Off* application, a :guilabel:`Work Entry Type` needs to be selected. The list of
217-
:guilabel:`Work Entry Types` is automatically created based on localization settings set in the
218-
database.
219-
220-
To view the current work entry types available, go to :menuselection:`Payroll app --> Configuration
221-
--> Work Entries --> Work Entry Types`.
222-
223-
Each work entry type has a code to aid in the creation of payslips, and to ensure all taxes and fees
224-
are correctly entered.
225-
226-
.. image:: payroll/work-entry-types.png
227-
:align: center
228-
:alt: List of all work entry types currently available for use, with the payroll code and color.
229-
230-
New work entry type
231-
~~~~~~~~~~~~~~~~~~~
232-
233-
To create a new :guilabel:`Work Entry Type`, click the :guilabel:`New` button, and enter the
234-
information for the following sections on the form.
235-
236-
General information section
237-
***************************
238-
239-
- :guilabel:`Work Entry Type Name`: the name should be short and descriptive, such as `Sick Time` or
240-
`Public Holiday`.
241-
- :guilabel:`Payroll Code`: this code appears with the work entry type on timesheets and payslips.
242-
Since the code is used in conjunction with the *Accounting* application, it is advised to check
243-
with the accounting department for a code to use.
244-
- :guilabel:`External Code`: this code is used for exporting data to a third-party payroll service.
245-
Check with the third-party being used to determine the :guilabel:`External Code` to enter for the
246-
new work entry type.
247-
- :guilabel:`Color`: select a color for the particular work entry type.
248-
249-
Display in payslip section
250-
**************************
251-
252-
- :guilabel:`Rounding`: the rounding method selected determines how quantities on timesheet entries
253-
are displayed on the payslip.
254-
255-
- :guilabel:`No Rounding`: entry is not modified.
256-
- :guilabel:`Half Day`: entry is rounded to the closest half day amount.
257-
- :guilabel:`Day`: entry is rounded to the closest full day amount.
258-
259-
.. example::
260-
If the working time is set to an 8-hour work day (40-hour work week), and an employee enters a
261-
time of 5.5 hours on a work entry, and :guilabel:`Rounding` is set to :guilabel:`No Rounding`, the
262-
entry remains 5.5 hours. If :guilabel:`Rounding` is set to :guilabel:`Half Day`, the entry is
263-
changed to 4 hours. If it is set to :guilabel:`Day`, it is changed to 8 hours.
264-
265-
Unpaid section
266-
**************
267-
268-
- :guilabel:`Unpaid in Structures Types`: if the work entry is for work that is not paid, specify
269-
which pay structure the unpaid work entry applies to from the drop-down menu. Some situations
270-
where work is logged on a payslip, but no compensation given would be for unpaid internships,
271-
unpaid training, or volunteer work.
272-
273-
Valid for advantages section
274-
****************************
275-
276-
- :guilabel:`Meal Voucher`: if the work entry should count towards a meal voucher, check the box.
277-
- :guilabel:`Representation Fees`: if the work entry should count towards representation fees, check
278-
the box.
279-
- :guilabel:`Private Car Reimbursement`: if the work entry should count towards a private car
280-
reimbursement, check the box.
281-
282-
Time off options section
283-
************************
284-
285-
- :guilabel:`Time Off`: check this box if the work entry type can be selected for a time off
286-
request, or entry, in the *Time Off* application.
287-
288-
If :guilabel:`Time Off` is checked, a :guilabel:`Time Off Type` field appears. This field has a
289-
drop-down menu to select the specific types of time off, such as `Paid Time Off`, `Sick Time Off`,
290-
or `Extra Hours`, for example.
291-
292-
A new type of time off can be entered in the field, if the listed types of time off in the
293-
drop-down menu do **not** display the type of time off needed.
294-
295-
Reporting section
296-
*****************
297-
298-
- :guilabel:`Unforeseen Absence`: if the work entry should be visible on the unforeseen absences
299-
report, check this box.
300-
301-
.. image:: payroll/new-work-entry-type.png
302-
:align: center
303-
:alt: New work entry type form with all fields to be filled in.
304-
305200
.. _payroll/working-times:
306201

307202
Working schedules
-21 KB
Binary file not shown.

content/applications/hr/payroll/work_entries.rst

Lines changed: 128 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,22 @@
22
Work entries
33
============
44

5+
A *work entry* is an individual record on an employee's timesheet. Work entries can be configured to
6+
account for all types of work and time off, such as :guilabel:`Attendance`, :guilabel:`Sick Time
7+
Off`, :guilabel:`Training`, or :guilabel:`Public Holiday`.
8+
59
The **Payroll** app automatically creates work entries based on the employee's :ref:`salary
610
structure type <payroll/structure-types>`, and from the **Planning**, **Attendances**, and **Time
7-
Off** applications.
11+
Off** applications. When needed, work entries can also be :ref:`created manually
12+
<payroll/new-work-entry>`.
813

914
Work entries provide the **Payroll** app with the worked hours used to compute employee paychecks,
1015
if the employee's salary is based on work entries, as opposed to a salaried position.
1116

17+
.. note::
18+
Odoo configures several work entry types by default, but :ref:`additional work entry types can be
19+
created <payroll/work-entry-types>`, when necessary.
20+
1221
.. _payroll/work-entry-dashboard:
1322

1423
Work entry dashboard
@@ -68,8 +77,7 @@ Click :guilabel:`New` on the :ref:`work entry dashboard <payroll/work-entry-dash
6877
- :guilabel:`Description`: Enter a short description for the work entry, such as `Sick Time`. The
6978
default entry is `Attendance: (Employee)`.
7079
- :guilabel:`Employee`: Select the employee the work entry is for, using the drop-down menu.
71-
- :guilabel:`Work Entry Type`: Select the :ref:`work entry type <payroll/work-entries>` using the
72-
drop-down menu.
80+
- :guilabel:`Work Entry Type`: Select the :guilabel:`Work Entry Type` using the drop-down menu.
7381
- :guilabel:`From` and :guilabel:`To`: Enter the start (:guilabel:`From`) and end (:guilabel:`To`)
7482
dates and times for the work entry.
7583

@@ -123,8 +131,8 @@ Time off conflicts
123131

124132
The most common work entry conflicts are for time off requests. Odoo automatically generates work
125133
entries for specific time periods. When time off is requested after these work entries are
126-
generated, it results in duplicate work entries for that employee (one for time off and another
127-
for regular work).
134+
generated, it results in duplicate work entries for that employee (one for time off and another for
135+
regular work).
128136

129137
If there is a conflict because a time off request is in the system for the same time that a regular
130138
work entry already exists, the time off request is entered in a :guilabel:`Time Off` field.
@@ -194,7 +202,7 @@ After conflicts are resolved, the affected work entries must be regenerated. Thi
194202
specified work entries, and overwrites the previously conflicting work entries.
195203

196204
While :ref:`conflicts <payroll/conflicts>` *can* be resolved individually, if the conflicts are
197-
caused from another application, such as **Planning** or **Attendances**, it is best practice to
205+
caused by another application, such as **Planning** or **Attendances**, it is best practice to
198206
correct the record in the application causing the conflict. The reason this method is recommended is
199207
because, if the issue in the related application is **not** resolved, when work entries are
200208
regenerated, the conflicts reappear.
@@ -227,6 +235,120 @@ finished, the pop-up window closes.
227235
The **Payroll** app then pulls the new, corrected data form the **Planning** app, and recreates
228236
the correct work entries for that employee. All conflicts for that employee are now resolved.
229237

238+
.. _payroll/work-entry-types:
239+
240+
Work entry types
241+
================
242+
243+
When :ref:`creating a work entry <payroll/new-work-entry>` in the **Payroll** application, or when a
244+
new time off type is created in the **Time Off** application, a work entry *type* needs to be
245+
selected.
246+
247+
The **Payroll** app comes with nine preconfigured work entry types, and depending on the installed
248+
:doc:`payroll localization <payroll_localizations>`, additional country-specific work entries may be
249+
configured. If there is a need for additional work entry types, they can be :ref:`created
250+
<payroll/new-work-entry-type>`.
251+
252+
To view the current work entry types available, navigate to :menuselection:`Payroll app -->
253+
Configuration --> Work Entries --> Work Entry Types`, and the :guilabel:`Work Entry Tpes` dashboard
254+
loads.
255+
256+
Each work entry type has a code to aid in the creation of payslips, and to ensure all taxes and fees
257+
are correctly entered.
258+
259+
.. note::
260+
Depending on the installed localization, other sections and fields may appear on the form.
261+
262+
.. image:: work_entries/work-entry-types.png
263+
:alt: List of all work entry types currently available for use, with the payroll code and color.
264+
265+
.. _payroll/new-work-entry-type:
266+
267+
New work entry type
268+
-------------------
269+
270+
To create a new work entry type, click the :guilabel:`New` button on the :guilabel:`Work Entry
271+
Types` dashboard, and enter the information for the following sections on the form.
272+
273+
General information section
274+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
275+
276+
- :guilabel:`Work Entry Type Name`: Enter a name for the work entry type. It should be short and
277+
descriptive, such as `Sick Time` or `Training`.
278+
- :guilabel:`Payroll Code`: Enter a code for the work entry type. This code appears with the work
279+
entry type on timesheets and payslips. Since the code is used in conjunction with the
280+
**Accounting** application, it is advised to check with the accounting department for a code to
281+
use.
282+
- :guilabel:`External Code`: Enter a code to use for exporting data to a third-party payroll
283+
service. Check with the third-party being used to determine the :guilabel:`External Code` to enter
284+
for the new work entry type.
285+
- :guilabel:`Color`: Select a color for the particular work entry type. This color appears on the
286+
work entry dashboard to aid in identifying work entry types.
287+
288+
.. note::
289+
The **only** required fields for a work entry type is the :guilabel:`Work Entry Type Name` and
290+
the :guilabel:`Payroll Code`.
291+
292+
Display in payslip section
293+
~~~~~~~~~~~~~~~~~~~~~~~~~~
294+
295+
- :guilabel:`Rounding`: Select how the time entered for the work entry should be rounded. The
296+
rounding method selected determines how the worked time on timesheet entries are calculated. The
297+
options are:
298+
299+
- :guilabel:`No Rounding`: Work entries are not modified.
300+
- :guilabel:`Half Day`: Work entries are rounded to the closest half day amount.
301+
- :guilabel:`Day`: Work entries are rounded to the closest full day amount.
302+
303+
- :guilabel:`Rounding Type`: If either :guilabel:`Half Day` or :guilabel:`Day` is selected in the
304+
:guilabel:`Rounding` field, this field appears. Select either :guilabel:`Up` or :guilabel:`Down`
305+
to determine how the rounding is handled.
306+
307+
.. example::
308+
The working time is set to an 8-hour work day (a 40-hour work week). An employee enters a time of
309+
5.5 hours on a work entry.
310+
311+
If the :guilabel:`Rounding` is set to :guilabel:`No Rounding`, the work entry remains at 5.5
312+
hours.
313+
314+
If the :guilabel:`Rounding` is set to :guilabel:`Half Day`, and the :guilabel:`Rounding Type` is
315+
set to :guilabel:`Down`, the work entry is changed to 4 hours. If the :guilabel:`Rounding Type`
316+
is set to :guilabel:`Up`, the work entry is changed to 8 hours.
317+
318+
If the :guilabel:`Rounding` is set to :guilabel:`Day`, and the :guilabel:`Rounding Type` is set
319+
to :guilabel:`Down`, the work entry is changed to zero hours. If the :guilabel:`Rounding Type` is
320+
set to :guilabel:`Up`, the work entry is changed to 8 hours.
321+
322+
Unpaid section
323+
~~~~~~~~~~~~~~
324+
325+
- :guilabel:`Unpaid in Structures Types`: If the work entry type is for work that is *not paid*,
326+
specify which pay structure the unpaid work entry type applies to, using the drop-down menu. Some
327+
situations where work is logged on a payslip, but no compensation is given, may be for unpaid
328+
internships, unpaid training, or volunteer work.
329+
330+
Time off options section
331+
~~~~~~~~~~~~~~~~~~~~~~~~
332+
333+
- :guilabel:`Time Off`: Tick this box if the work entry type can be selected for a time off request,
334+
or time off entry, in the **Time Off** application.
335+
336+
If :guilabel:`Time Off` is active, a :guilabel:`Time Off Type` field appears. This field has a
337+
drop-down menu to select the specific types of time off, such as `Paid Time Off`, `Sick Time Off`,
338+
or `Extra Hours`. Select the :guilabel:`Time Off Type` associated with the work entry type.
339+
340+
- :guilabel:`Keep Time Off Right`: Tick this checkbox if the work entry type associated with the
341+
selected time off type allows for rolling over unused time off to the following year.
342+
343+
Reporting section
344+
~~~~~~~~~~~~~~~~~
345+
346+
- :guilabel:`Unforeseen Absence`: Tick this box if the work entry type should be visible on the
347+
unforeseen absences report.
348+
349+
.. image:: work_entries/new-work-entry-type.png
350+
:alt: New work entry type form with all fields to be filled in.
351+
230352
.. seealso::
231353
:doc:`payslips`
232354

17.2 KB
Loading

0 commit comments

Comments
 (0)