Work entries

A work entry is an individual record on an employee's timesheet. Work entries can be configured to account for all types of work and time off, such as Attendance, Sick Time Off, Training, or Public Holiday.

The Payroll app automatically creates work entries based on the employee's salary structure type, and from the Planning, Attendances, and Time Off applications. When needed, work entries can also be created manually.

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

注釈

Odoo configures several work entry types by default, but additional work entry types can be created, when necessary.

Work entry dashboard

The Work Entries dashboard of the Payroll app provides a visual overview of the individual work entries for every employee.

To open the dashboard, navigate to Payroll app ‣ Work Entries ‣ Work Entries.

On the Work Entry dashboard, work entries appear in alphabetical order, based on the first name of the employees. The entire month is displayed, with the current day highlighted in pale yellow.

The Work Entry dashboard has a default Conflicting filter, which displays only work entries with conflicts to be resolved.

Conflicts dashboard view showing all employee's conflicts in work entries.

ちなみに

Remove the default Conflicting filter from the search bar to view all work entries.

Add a new work entry

If a work entry is missing, such as sick time, or if an employee forgot to clock in and out for a shift, a new work entry must be created for the missing shift.

Click New on the work entry dashboard, and a blank Create work entry pop-up form appears. Enter the following information on the form:

  • Description: Enter a short description for the work entry, such as Sick Time. The default entry is Attendance: (Employee).

  • Employee: Select the employee the work entry is for, using the drop-down menu.

  • Work Entry Type: Select the Work Entry Type using the drop-down menu.

  • From and To: Enter the start (From) and end (To) dates and times for the work entry.

    First, click on either the From or To line to reveal a calendar pop-up window. Select the date by navigating to the correct month, then click on the specific day to select it.

    Next, select the time, by clicking on either the hour or minute fields at the bottom of the calendar, and set the desired time.

    When the date and time for the entry are correct, click the Apply button.

  • Duration: This field displays the hours based on the To and From entries. Modifying this field modifies the To field (the From field does not change).

Once the desired information is entered, click Save & Close to save the entry, and close the pop-up form.

Filling in the work entry Create form in Odoo.

不整合

A conflict occurs when a request has not been approved, such as sick time or vacation, or if there are any errors on the work entry. Conflicts that span the current pay period being processed must be resolved before payslips can be generated.

Any work entry that has a conflict to be resolved is indicated on the main Work Entry dashboard, which can be accessed by navigating to Payroll app ‣ Work Entries ‣ Work Entries. Only conflicts needing resolution are shown by default.

Conflicts are indicated with an orange triangle in the top-left corner of each individual work entry. Click on an individual work entry to see the date and time for the specific work entry, then click Edit to view the conflict details in a pop-up window.

A row of conflicts, with one entry showing details for the conflict.

The conflict is briefly explained in an orange text box in the Open pop-up window that appears.

The Description, Employee, and Work Entry Type are listed on the left side of the pop-up window. The From and To date and time range, as well as the total time (in hours) in the Duration field, appears on the right side.

Time off conflicts

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

If there is a conflict because a time off request is in the system for the same time that a regular work entry already exists, the time off request is entered in a Time Off field.

Conflicts can be resolved either directly on the work entry or in the detailed time off request form.

Resolve on work entry

If no additional details are needed to determine if a time off request should be approved or refused, the time off conflict can be resolved directly from the work entry pop-up window.

Click either the Refuse Time Off or Approve Time Off buttons to refuse or approve the time off request, then the two buttons disappear. Click the Save & Close button to close the pop-up window.

The conflict disappears from the Work Entry dashboard, since the conflict is now resolved.

The detailed conflict pop-up window that appears when the Edit button is clicked.

注釈

If the time off is approved, the status of the work entry conflict changes to Cancelled. If the time off is refused, the status changes to Draft.

Resolve on time off request

If more details are needed to make a decision about the time off request, hover over the entry in the Time Off field, and click the (Internal Link) icon that appears at the end of the line. This causes an Open: Time Off pop-up window to load, with all the time off request details. Click either the Approve or Refuse buttons to approve or refuse the request.

To resolve the time off conflict on the detailed time off request pop-up window, click the Internal Link button at the end of the Time Off entry line, and the time off request details appear in a new pop-up window. The request can be modified, if needed.

Click the Approve button to approve the request, then click the Save & Close button to save the changes, and go back to the work entry conflict pop-up window.

The detailed time off request information.

Now, the Approve Time Off button is hidden, only the Refuse Time Off button is visible.

If the approval was a mistake, the request can be refused here, by clicking the Refuse Time Off button.

Since the time off was approved in the time off window, click the X in the top-right corner to close the window. The conflict disappears from the Work Entry dashboard, since it has been resolved.

Regenerate work entries

After conflicts are resolved, the affected work entries must be regenerated. This recreates the specified work entries, and overwrites the previously conflicting work entries.

While conflicts can be resolved individually, if the conflicts are caused by another application, such as Planning or Attendances, it is best practice to correct the record in the application causing the conflict. The reason this method is recommended is because, if the issue in the related application is not resolved, when work entries are regenerated, the conflicts reappear.

First, ensure the issues are resolved in the specific applications that caused the work entry conflicts. Once the conflicts have been resolved in the corresponding apps, open the work entry dashboard by navigating to Payroll app ‣ Work Entries ‣ Work Entries.

Click the Regenerate Work Entries button at the top of the Work Entries dashboard, and a Work Entry Regeneration pop-up window appears.

Select the Employees to regenerate work entries for, using the drop-down menu. Adjust the From and To fields, so the correct date range is displayed.

Click the Regenerate Work Entries button, and the work entries are recreated. Once finished, the pop-up window closes.

Regenerate a work entry for a particular employee.

Example

An employee has incorrect work entries generated from the Planning app because they were incorrectly assigned to two work stations simultaneously. This should be fixed in the Planning app, instead of the Payroll app.

To correct this issue, modify the employee's schedule in the Planning app, so they are correctly assigned to only one work station. Then, in the Payroll app, regenerate work entries for that employee, for that specific time period.

The Payroll app then pulls the new, corrected data form the Planning app, and recreates the correct work entries for that employee. All conflicts for that employee are now resolved.

Work entry types

When creating a work entry in the Payroll application, or when a new time off type is created in the Time Off application, a work entry type needs to be selected.

The Payroll app comes with nine preconfigured work entry types, and depending on the installed payroll localization, additional country-specific work entries may be configured. If there is a need for additional work entry types, they can be created.

To view the current work entry types available, navigate to Payroll app ‣ Configuration ‣ Work Entries ‣ Work Entry Types.

Each work entry type has a code to aid in the creation of payslips, and to ensure all taxes and fees are correctly entered.

注釈

Depending on the installed localization, other sections and fields may appear on the form.

List of all work entry types currently available for use, with the payroll code and color.

New work entry type

To create a new work entry type, go to Payroll app ‣ Configuration ‣ Work Entries ‣ Work Entry Types and click New. Then, enter the information for the following sections on the form.

General information section

  • Work Entry Type Name: Enter a name for the work entry type. It should be short and descriptive, such as Sick Time or Training.

  • Payroll Code: Enter a code for the work entry type. This code appears with the work entry type on timesheets and payslips. Since the code is used in conjunction with the Accounting application, it is advised to check with the accounting department for a code to use.

  • External Code: Enter a code to use for exporting data to a third-party payroll service. Check with the third-party being used to determine the External Code to enter for the new work entry type.

  • Color: Select a color for the particular work entry type. This color appears on the work entry dashboard to aid in identifying work entry types.

注釈

The only required fields for a work entry type is the Work Entry Type Name and the Payroll Code.

Display in payslip section

  • Rounding: Select how the time entered for the work entry should be rounded. The rounding method selected determines how the worked time on timesheet entries are calculated. The options are:

    • No Rounding: Work entries are not modified.

    • Half Day: Work entries are rounded to the closest half day amount.

    • Day: Work entries are rounded to the closest full day amount.

  • Rounding Type: If either Half Day or Day is selected in the Rounding field, this field appears. Select either Up or Down to determine how the rounding is handled.

Example

The working time is set to an 8-hour work day (a 40-hour work week). An employee enters a time of 5.5 hours on a work entry.

If the Rounding is set to No Rounding, the work entry remains at 5.5 hours.

If the Rounding is set to Half Day, and the Rounding Type is set to Down, the work entry is changed to 4 hours. If the Rounding Type is set to Up, the work entry is changed to 8 hours.

If the Rounding is set to Day, and the Rounding Type is set to Down, the work entry is changed to zero hours. If the Rounding Type is set to Up, the work entry is changed to 8 hours.

Unpaid section

  • Unpaid in Structures Types: If the work entry type is for work that is not paid, specify which pay structure the unpaid work entry type applies to, using the drop-down menu. Some situations where work is logged on a payslip, but no compensation is given, such as unpaid internships, unpaid training, or volunteer work.

Time off options section

  • Time Off: Tick this box if the work entry type can be selected for a time off request or time off entry, in the Time Off application.

    If Time Off is active, a Time Off Type field appears. This field has a drop-down menu to select the specific types of time off, such as Paid Time Off, Sick Time Off, or Extra Hours. Select the Time Off Type associated with the work entry type.

  • Keep Time Off Right: Tick this checkbox if the work entry type associated with the selected time off type allows for rolling over unused time off to the following year.

Reporting section

  • Unforeseen Absence: Tick this box if the work entry type should be visible on the unforeseen absences report.

New work entry type form with all fields to be filled in.