Skip to content

Commit ce24ce4

Browse files
committed
[IMP] Payroll: Updating salary attachments
closes #14485 X-original-commit: 194c6f8 Signed-off-by: Lara Martini (larm) <[email protected]>
1 parent 50c2e15 commit ce24ce4

File tree

4 files changed

+38
-27
lines changed

4 files changed

+38
-27
lines changed

content/applications/hr/payroll/salary_attachments.rst

Lines changed: 38 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,25 @@ whether voluntary or required.
77

88
When the deduction is voluntary, they are typically considered *deductions*. When the deduction is
99
court-ordered, or involuntary, it is sometimes referred to as a *wage garnishment*. In Odoo, these
10-
are all universally called, *salary attachments*.
10+
are all universally called *salary attachments*.
1111

12-
Note that salary attachments could also be used to give recurring amount of money to employees.
13-
Like bonus divided in multiple parts.
12+
Note that salary attachments could also be used to give recurring amounts of money to employees,
13+
like a bonus divided in multiple payments.
1414

1515
.. _payroll/salary-attachment/types:
1616

1717
Salary attachment types
1818
=======================
1919

2020
To view the currently configured salary attachment types, navigate to :menuselection:`Payroll app
21-
--> Configuration --> Salary Attachment Types`. The default salary attachment types are:
22-
:guilabel:`Attachment of Salary`, :guilabel:`Assignment of Salary`, and :guilabel:`Child Support`.
21+
--> Configuration --> Other Input Types`. This displays *all* other salary inputs, not just the
22+
various salary attachments.
2323

24-
Each salary attachment type displays the :guilabel:`Name` of the attachment type, the
25-
:guilabel:`Code` used when calculating payslips, a checkbox to indicate if there is :guilabel:`No
26-
End Date`, and whether it is :guilabel:`Country` specific (or universal).
24+
The three default salary attachment types that appear in this list are: :guilabel:`Attachment of
25+
Salary`, :guilabel:`Assignment of Salary`, and :guilabel:`Child Support`.
26+
27+
Each salary attachment type displays the :guilabel:`Name` of the attachment type, and the
28+
:guilabel:`Code` used when calculating payslips.
2729

2830
.. image:: salary_attachments/attachment-types.png
2931
:alt: The default salary attachment types.
@@ -32,7 +34,7 @@ Create new salary attachment types
3234
----------------------------------
3335

3436
.. danger::
35-
Upon installation of the **Payroll** application, the pre-configured default salary attachment
37+
Upon installation of the **Payroll** application, the preconfigured default salary attachment
3638
types are linked to a variety of rules that are linked to various salary structures, as well as
3739
the installed :ref:`localization package <fiscal_localizations/packages>`.
3840

@@ -45,14 +47,12 @@ Create new salary attachment types
4547
in the salary computation.
4648

4749
To make a new type of salary attachment, click the :guilabel:`New` button, and a blank
48-
:guilabel:`Salary Attachment Types` form loads. Enter the :guilabel:`Name` for the new salary
49-
attachment type in the corresponding field. Next, enter the :guilabel:`Code` used in the salary
50-
rules to compute payslips. Last, tick the :guilabel:`No End Date` checkbox if this salary attachment
51-
never expires.
52-
53-
If in a multi-company database, with locations in multiple countries, a :guilabel:`Country` field
54-
also appears on the :guilabel:`Salary Attachment Types` form. Select the country the attachment
55-
applies to, or leave blank if it is universal.
50+
:guilabel:`Other Input Types` form loads. Enter the :guilabel:`Description` for the new salary
51+
attachment type in the corresponding field. Next, tick the :guilabel:`Available in attachments`
52+
checkbox, indicating it is available to use as a salary attachment. Enter the :guilabel:`Code` used
53+
in the salary rules to compute payslips. Lastly, if the salary attachment type should **only** be
54+
used in a specific payroll structure, use the drop-down menu in the :guilabel:`Available in
55+
Structure` field, and select the specific structure.
5656

5757
.. _payroll/salary-attachment/create:
5858

@@ -65,7 +65,10 @@ app --> Contracts --> Salary Attachments`.
6565

6666
All salary attachments appear in a default list view, and displays the name of the
6767
:guilabel:`Employees`, :guilabel:`Description`, the salary attachment :guilabel:`Type`, the
68-
:guilabel:`Monthly Amount`, :guilabel:`Start Date`, and current :guilabel:`Status`.
68+
:guilabel:`payslips Amount`, :guilabel:`Start Date`, and current :guilabel:`Status`.
69+
70+
At the end of each line is a :guilabel:`Related Payslips` button. Click this to view all payslips
71+
containing the corresponding salary attachment.
6972

7073
To create a new salary attachment, click the :guilabel:`New` button in the top-left corner, and a
7174
blank :guilabel:`Salary Attachment` form loads. Enter the following information on the form:
@@ -78,16 +81,21 @@ blank :guilabel:`Salary Attachment` form loads. Enter the following information
7881
- :guilabel:`Start Date`: Using the calendar selector, select the date the salary attachment goes
7982
into effect.
8083
- :guilabel:`Estimated End Date`: This field is **not** modifiable, and **only** appears after the
81-
:guilabel:`Monthly Amount` field is populated. This field is the estimated date when the salary
82-
attachment will be completed. Today's date populates the field by default. Then, when the
84+
:guilabel:`Payslip Amount` field is populated. This field is the estimated date when the salary
85+
attachment is completed. Today's date populates the field by default. Then, when the
8386
:guilabel:`Total Amount` field is populated, this date is updated.
8487
- :guilabel:`Document`: If any documentation is needed, such as a court order, click the
8588
:guilabel:`Upload your file` button, and a file explorer window loads. Select the desired document
8689
to attach it to the record. Only **one** document can be attached to a salary attachment.
87-
- :guilabel:`Monthly Amount`: Enter the amount taken out of each paycheck every month in this field.
88-
- :guilabel:`Total Amount`: This field **only** appears if the :ref:`salary attachment type
89-
<payroll/salary-attachment/types>` has no end date (the :guilabel:`No End Date` option is
90-
**not** ticked.)
90+
- :guilabel:`No End Date`: Tick this checkbox if the salary attachment runs indefinitely. If ticked,
91+
the :guilabel:`Total Amount` field is hidden from view.
92+
- :guilabel:`Payslip Amount`: Enter the amount taken out of each paycheck in this field.
93+
- :guilabel:`Total Amount`: Enter the total amount to be paid for the salary attachment. Note that
94+
this field **only** appears if the :guilabel:`No End Date` option is **not** ticked.
95+
- :guilabel:`Negative Amount`: Tick this checkbox if the salary attachment
96+
- :guilabel:`Occurrences`: This field is **not** editable, and only appears once both the
97+
:guilabel:`Payslip Amount` and :guilabel:`Total Amount` fields are populated. The number indicates
98+
the amount of payslips needed to complete the salary attachment.
9199

92100
.. image:: salary_attachments/salary-attachment-form.png
93101
:alt: The salary attachment form with all fields filled out.
@@ -112,9 +120,12 @@ Salary attachments can have one of three statuses: *Running*, *Completed*, or *C
112120
the current status of all salary attachments, navigate to :menuselection:`Payroll app --> Contracts
113121
--> Salary Attachments`.
114122

115-
All salary attachments appear in the order they were configured. To view the salary attachments by
116-
a particular metric, such as the :guilabel:`Status`, or :guilabel:`Type`, click on the column title
117-
to sort by that specific column.
123+
All salary attachments appear in chronological order, by :guilabel:`Start Date`, with the most
124+
recent appearing at the top. To view the salary attachments by a particular metric, such as the
125+
:guilabel:`Status`, or :guilabel:`Type`, click on the column title to sort by that specific column.
126+
127+
.. image:: salary_attachments/attachments-list.png
128+
:alt: All salary attachments, organized by start date.
118129

119130
Completed salary attachments
120131
----------------------------
6.25 KB
Loading
56.3 KB
Loading
-5.59 KB
Loading

0 commit comments

Comments
 (0)