Skip to content

Commit caa9a55

Browse files
committed
[IMP] Payroll: Updating work entries
1 parent 4a4f2e6 commit caa9a55

File tree

7 files changed

+134
-12
lines changed

7 files changed

+134
-12
lines changed
-21 KB
Binary file not shown.

content/applications/hr/payroll/payroll_localizations/hong_kong.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ There are two checkboxes to be considered when setting up the work entry type:
271271
:alt: Hong Kong Work Entry Type.
272272

273273
.. seealso::
274-
:ref:`Creating and configuring work entry types <payroll/work-entries>`
274+
:ref:`Creating and configuring work entry types <payroll/work-entry-types>`
275275

276276
Understanding 713 Ordinance
277277
===========================

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

content/applications/hr/payroll/work_entry_analysis.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ time period, as well as the :guilabel:`Variation` between the two, in a percenta
3434
:alt: A pivot table comparing the work entries of the current month and the previous month.
3535

3636
.. note::
37-
If no work entries for a specific :ref:`work entry type <payroll/work-entries>` are logged for
38-
the time period, it does **not** appear on the report. That does **not** mean the work entry type
39-
does not exist, or is not configured.
37+
If no work entries for a specific :ref:`work entry type <payroll/work-entry-types>` are logged
38+
for the time period, it does **not** appear on the report. That does **not** mean the work entry
39+
type does not exist, or is not configured.
4040

4141
Additionally, if the default :guilabel:`Current month: (Month)(Year)` filter is removed from the
4242
search bar, the :guilabel:`Comparison` column does **not** appear; there must be a time-frame

content/applications/hr/time_off.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,8 +475,8 @@ Enter the following information on that new line:
475475
- :guilabel:`Working Hours`: If the holiday should only apply to employees who have a specific set
476476
of working hours, select the working hours from the drop-down menu. If left blank, the holiday
477477
applies to all employees.
478-
- :guilabel:`Work Entry Type`: If using the **Payroll** app, this field defines how the :ref:`work
479-
entries <payroll/work-entries>` for the holiday appear. Select the work entry type from the
478+
- :guilabel:`Work Entry Type`: If using the **Payroll** app, this field defines how the :doc:`work
479+
entries <payroll/work_entries>` for the holiday appear. Select the work entry type from the
480480
drop-down menu.
481481

482482
.. image:: time_off/holidays.png

0 commit comments

Comments
 (0)