22Work 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+
59The **Payroll ** app automatically creates work entries based on the employee's :ref: `salary
610structure 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
914Work entries provide the **Payroll ** app with the worked hours used to compute employee paychecks,
1015if 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
1423Work entry dashboard
@@ -32,28 +41,6 @@ only work entries with :ref:`conflicts <payroll/conflicts>` to be resolved.
3241.. tip ::
3342 Remove the default :guilabel: `Conflicting ` filter from the search bar to view *all * work entries.
3443
35- .. _payroll/adjust-view :
36-
37- Adjust view
38- -----------
39-
40- To change the view so that only the entries for a single day, week, month, quarter, or year are
41- shown, click the :icon: `fa-calendar ` :guilabel: `(Month)(Year) ` button. A drop-down menu appears with
42- the options of :guilabel: `Today `, :guilabel: `This week `, :guilabel: `This month `, :guilabel: `This
43- quarter `, or :guilabel: `This year `. Click on one of the options to only display data for that
44- specific selection.
45-
46- Use the :icon: `oi-arrow-left ` :guilabel: `(left arrow) ` and :icon: `oi-arrow-right ` :guilabel: `(right
47- arrow) ` buttons to adjust the displayed dates. The arrows adjust the date based on the type of time
48- selected.
49-
50- For example, if :guilabel: `Month ` is selected, the arrows move one month with each click of the
51- arrow. If :guilabel: `Week ` or :guilabel: `Day ` is selected, the time moves by either a week or a day
52- for each click of the arrow, respectively.
53-
54- At any point, to return to a view containing the current day, click the :icon: `fa-crosshairs `
55- :guilabel: `(Focus Today) ` button.
56-
5744.. _payroll/new-work-entry :
5845
5946Add a new work entry
@@ -68,8 +55,7 @@ Click :guilabel:`New` on the :ref:`work entry dashboard <payroll/work-entry-dash
6855- :guilabel: `Description `: Enter a short description for the work entry, such as `Sick Time `. The
6956 default entry is `Attendance: (Employee) `.
7057- :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.
58+ - :guilabel: `Work Entry Type `: Select the :guilabel: `Work Entry Type ` using the drop-down menu.
7359- :guilabel: `From ` and :guilabel: `To `: Enter the start (:guilabel: `From `) and end (:guilabel: `To `)
7460 dates and times for the work entry.
7561
@@ -123,8 +109,8 @@ Time off conflicts
123109
124110The most common work entry conflicts are for time off requests. Odoo automatically generates work
125111entries 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).
112+ generated, it results in duplicate work entries for that employee (one for time off and another for
113+ regular work).
128114
129115If there is a conflict because a time off request is in the system for the same time that a regular
130116work entry already exists, the time off request is entered in a :guilabel: `Time Off ` field.
@@ -194,7 +180,7 @@ After conflicts are resolved, the affected work entries must be regenerated. Thi
194180specified work entries, and overwrites the previously conflicting work entries.
195181
196182While :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
183+ caused by another application, such as **Planning ** or **Attendances **, it is best practice to
198184correct the record in the application causing the conflict. The reason this method is recommended is
199185because, if the issue in the related application is **not ** resolved, when work entries are
200186regenerated, the conflicts reappear.
@@ -227,6 +213,120 @@ finished, the pop-up window closes.
227213 The **Payroll ** app then pulls the new, corrected data form the **Planning ** app, and recreates
228214 the correct work entries for that employee. All conflicts for that employee are now resolved.
229215
216+ .. _payroll/work-entry-types :
217+
218+ Work entry types
219+ ================
220+
221+ When :ref: `creating a work entry <payroll/new-work-entry >` in the **Payroll ** application, or when a
222+ new time off type is created in the **Time Off ** application, a work entry *type * needs to be
223+ selected.
224+
225+ The **Payroll ** app comes with nine preconfigured work entry types, and depending on the installed
226+ :doc: `payroll localization <payroll_localizations >`, additional country-specific work entries may be
227+ configured. If there is a need for additional work entry types, they can be :ref: `created
228+ <payroll/new-work-entry-type>`.
229+
230+ To view the current work entry types available, navigate to :menuselection: `Payroll app -->
231+ Configuration --> Work Entries --> Work Entry Types `.
232+
233+ Each work entry type has a code to aid in the creation of payslips, and to ensure all taxes and fees
234+ are correctly entered.
235+
236+ .. note ::
237+ Depending on the installed localization, other sections and fields may appear on the form.
238+
239+ .. image :: work_entries/work-entry-types.png
240+ :alt: List of all work entry types currently available for use, with the payroll code and color.
241+
242+ .. _payroll/new-work-entry-type :
243+
244+ New work entry type
245+ -------------------
246+
247+ To create a new work entry type, go to :menuselection: `Payroll app --> Configuration --> Work
248+ Entries --> Work Entry Types ` and click :guilabel: `New `. Then, enter the information for the
249+ following sections on the form.
250+
251+ General information section
252+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
253+
254+ - :guilabel: `Work Entry Type Name `: Enter a name for the work entry type. It should be short and
255+ descriptive, such as `Sick Time ` or `Training `.
256+ - :guilabel: `Payroll Code `: Enter a code for the work entry type. This code appears with the work
257+ entry type on timesheets and payslips. Since the code is used in conjunction with the
258+ **Accounting ** application, it is advised to check with the accounting department for a code to
259+ use.
260+ - :guilabel: `External Code `: Enter a code to use for exporting data to a third-party payroll
261+ service. Check with the third-party being used to determine the :guilabel: `External Code ` to enter
262+ for the new work entry type.
263+ - :guilabel: `Color `: Select a color for the particular work entry type. This color appears on the
264+ work entry dashboard to aid in identifying work entry types.
265+
266+ .. note ::
267+ The **only ** required fields for a work entry type is the :guilabel: `Work Entry Type Name ` and
268+ the :guilabel: `Payroll Code `.
269+
270+ Display in payslip section
271+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
272+
273+ - :guilabel: `Rounding `: Select how the time entered for the work entry should be rounded. The
274+ rounding method selected determines how the worked time on timesheet entries are calculated. The
275+ options are:
276+
277+ - :guilabel: `No Rounding `: Work entries are not modified.
278+ - :guilabel: `Half Day `: Work entries are rounded to the closest half day amount.
279+ - :guilabel: `Day `: Work entries are rounded to the closest full day amount.
280+
281+ - :guilabel: `Rounding Type `: If either :guilabel: `Half Day ` or :guilabel: `Day ` is selected in the
282+ :guilabel: `Rounding ` field, this field appears. Select either :guilabel: `Up ` or :guilabel: `Down `
283+ to determine how the rounding is handled.
284+
285+ .. example ::
286+ The working time is set to an 8-hour work day (a 40-hour work week). An employee enters a time of
287+ 5.5 hours on a work entry.
288+
289+ If the :guilabel: `Rounding ` is set to :guilabel: `No Rounding `, the work entry remains at 5.5
290+ hours.
291+
292+ If the :guilabel: `Rounding ` is set to :guilabel: `Half Day `, and the :guilabel: `Rounding Type ` is
293+ set to :guilabel: `Down `, the work entry is changed to 4 hours. If the :guilabel: `Rounding Type `
294+ is set to :guilabel: `Up `, the work entry is changed to 8 hours.
295+
296+ If the :guilabel: `Rounding ` is set to :guilabel: `Day `, and the :guilabel: `Rounding Type ` is set
297+ to :guilabel: `Down `, the work entry is changed to zero hours. If the :guilabel: `Rounding Type ` is
298+ set to :guilabel: `Up `, the work entry is changed to 8 hours.
299+
300+ Unpaid section
301+ ~~~~~~~~~~~~~~
302+
303+ - :guilabel: `Unpaid in Structures Types `: If the work entry type is for work that is *not paid *,
304+ specify which pay structure the unpaid work entry type applies to, using the drop-down menu. Some
305+ situations where work is logged on a payslip, but no compensation is given, such as unpaid
306+ internships, unpaid training, or volunteer work.
307+
308+ Time off options section
309+ ~~~~~~~~~~~~~~~~~~~~~~~~
310+
311+ - :guilabel: `Time Off `: Tick this box if the work entry type can be selected for a time off request
312+ or time off entry, in the **Time Off ** application.
313+
314+ If :guilabel: `Time Off ` is active, a :guilabel: `Time Off Type ` field appears. This field has a
315+ drop-down menu to select the specific types of time off, such as `Paid Time Off `, `Sick Time Off `,
316+ or `Extra Hours `. Select the :guilabel: `Time Off Type ` associated with the work entry type.
317+
318+ - :guilabel: `Keep Time Off Right `: Tick this checkbox if the work entry type associated with the
319+ selected time off type allows for rolling over unused time off to the following year.
320+
321+ Reporting section
322+ ~~~~~~~~~~~~~~~~~
323+
324+ - :guilabel: `Unforeseen Absence `: Tick this box if the work entry type should be visible on the
325+ unforeseen absences report.
326+
327+ .. image :: work_entries/new-work-entry-type.png
328+ :alt: New work entry type form with all fields to be filled in.
329+
230330.. seealso ::
231331 :doc: `payslips `
232332
0 commit comments