2
2
Allocations
3
3
===========
4
4
5
+ Allocations are amounts of time off given to employees, either granted immediately or earned as the
6
+ employee works, through an accrual plan.
7
+
5
8
Once :ref: `time off types <time_off/time-off-types >` and :ref: `accrual plans
6
9
<time_off/accrual-plans>` have been configured, the next step is to *allocate *, or give, time off to
7
10
employees.
@@ -26,15 +29,17 @@ Click :guilabel:`New` to allocate time off, and a blank :guilabel:`Allocation` f
26
29
After entering a name for the allocation on the first blank field of the form, enter the following
27
30
information:
28
31
32
+ - :guilabel: `Name `: Enter a name for the allocation, typically containing the type of time off, and
33
+ the period of time it is available (example: `Annual Vacation Time Off - 2025 `).
29
34
- :guilabel: `Time Off Type `: Using the drop-down menu, select the type of time off that is being
30
35
allocated to the employees.
31
- - :guilabel: `Allocation Type `: Select either :guilabel: ` Regular Allocation ` or :guilabel: `Accrual
32
- Allocation `. If the allocation is ** not ** based on an :ref: ` accrual plan
33
- <time_off/accrual-plans>`, select :guilabel: ` Regular Allocation `.
36
+ - :guilabel: `Allocation Type `: Select how the allocation is granted. Choose :guilabel: `Regular
37
+ Allocation ` if the time off is given immediately, or :guilabel: ` Accrual Allocation ` if the time
38
+ off is earned through an :ref: ` accrual plan <time_off/accrual-plans >`.
34
39
- :guilabel: `Accrual Plan `: If :guilabel: `Accrual Allocation ` is selected for the
35
40
:guilabel: `Allocation Type `, the :guilabel: `Accrual Plan ` field appears. Using the drop-down menu,
36
- select the accrual plan with which the allocation is associated . An accrual plan ** must ** be
37
- selected for an :guilabel: `Accrual Allocation `.
41
+ select the accrual plan associated with the allocation. An accrual plan is ** required ** when using
42
+ the :guilabel: `Accrual Allocation ` type .
38
43
- :guilabel: `Validity Period/Start Date `: If :guilabel: `Regular Allocation ` is selected for the
39
44
:guilabel: `Allocation Type `, this field is labeled :guilabel: `Validity Period `. If
40
45
:guilabel: `Accrual Allocation ` is selected for the :guilabel: `Allocation Type `, this field is
@@ -45,46 +50,39 @@ information:
45
50
allocation, and click on the date to select it.
46
51
47
52
If the allocation expires, select the expiration date in the next date field. If the time off does
48
- *not * expire, leave the second date field blank. :guilabel: `No Limit ` appears in the field if no
49
- date is selected.
53
+ *not * expire, leave the second date field blank.
50
54
51
55
If :guilabel: `Accrual Allocation ` is selected for the :guilabel: `Allocation Type `, this second
52
56
field is labeled :guilabel: `Run until `.
53
-
54
- .. important ::
55
- If the :guilabel: `Start Date ` entered is in the middle of a period of time, such as the middle
56
- of the month, Odoo applies the allocation to the beginning or end of the period, depending on
57
- the *Accrued Gain Time * entered on the :ref: `accrual plan <time_off/accrual-plans >` (either *At
58
- the start of the accrual period *, or *At the end of the accrual period *) instead of the
59
- specific date entered.
60
-
61
- For example, an allocation is created, and references an accrual plan that grants time *At the
62
- start of the accrual period *, monthly, on the first of the month.
63
-
64
- On the allocation form, the :guilabel: `Allocation Type ` is set to :guilabel: `Accrual
65
- Allocation `, and the :guilabel: `Start Date ` entered is `06/16/24 `.
66
-
67
- Odoo's **Time Off ** app retroactively applies the allocation to the beginning of the time
68
- period entered in the :guilabel: `Start Date `.
69
-
70
- Therefore, this allocation accrues time from `06/01/24 `, rather than `06/16/24 `.
71
-
72
- Additionally, if on the accrual form, the allocation references an accrual plan that grants
73
- time *`At the end of the accrual period *, the allocation accrues time from `7/01/24 ` rather
74
- than `6/18/24 `.
75
-
76
57
- :guilabel: `Allocation `: Enter the amount of time that is being allocated to the employees. This
77
58
field displays the time in either :guilabel: `Hours ` or :guilabel: `Days `, depending on how the
78
59
selected :ref: `Time Off Type <time_off/time-off-types >` is configured.
60
+ - :guilabel: `Employee `: Using the drop-down menu, select the employee being allocated the time off.
79
61
- :guilabel: `Add a reason... `: If any description or note is necessary to explain the time off
80
62
allocation, enter it in this field at the bottom of the form.
81
63
82
64
.. image :: allocations/new-allocation.png
83
65
:alt: A new allocation form with all the fields filled out for the annual two week vacation
84
66
granted to all employees.
85
67
86
- Multiple Allocations
87
- --------------------
68
+ Accrual start date behavior
69
+ ---------------------------
70
+
71
+ If the :guilabel: `Start Date ` is in the middle of an accrual period, Odoo adjusts it to the start or
72
+ end of that period based on the *Accrued Gain Time * entered on the :ref: `accrual plan
73
+ <time_off/accrual-plans>`.
74
+
75
+ .. example ::
76
+ - *At the start of the accrual period *: A :guilabel: `Start Date ` of `06/16/25 ` applies from
77
+ `06/01/25 `
78
+ - *At the end of the accrual period *: A :guilabel: `Start Date ` of `06/18/25 ` applies from
79
+ `07/01/25 `
80
+
81
+ Automatic adjustments on the start date to either the begining or end of an accural period ensures
82
+ accruals align with the defined period boundaries, rather than the exact date entered.
83
+
84
+ Multiple requests
85
+ -----------------
88
86
89
87
When allocating time off, it is common to allocate time to several employees at once. This is done
90
88
using the :guilabel: `Multiple Requests ` feature.
@@ -94,10 +92,10 @@ app --> Management --> Allocations`. Then, click the :icon:`fa-gear` :guilabel:`
94
92
the upper-left corner, then click :icon: `fa-users ` :guilabel: `Multiple Requests `. This reveals a
95
93
:guilabel: `Multiple Requests ` pop-up window.
96
94
97
- This form is identical to the :guilabel : `Allocation ` form, with an additional :guilabel: ` Mode `
98
- field. The :guilabel: `Mode ` field determines how multiple employees are selected.
95
+ This form is identical to the :ref : `Allocation form < time_off/allocation-form >` , with an additional
96
+ :guilabel: ` Mode ` field. The :guilabel: `Mode ` field determines how multiple employees are selected.
99
97
100
- Using the drop-down menu, select one of the following :guilabel: ` Modes ` :
98
+ Using the drop-down menu, select a :guilabel: ` Mode ` from one of the following options :
101
99
102
100
- :guilabel: `By Employee `: This option allows for the selection of multiple individual employees
103
101
that are unrelated in terms of department, company, or tags. Selecting this reveals an
@@ -126,9 +124,31 @@ desired.
126
124
Fill out the remainder of the :ref: `Multiple Requests form <time_off/allocation-form >`, then click
127
125
:guilabel: `Create Allocations ` when done.
128
126
129
- .. image :: allocations/multiple-requests.png
130
- :alt: An allocation request form filled out for sick time for all employees within the sales
131
- department.
127
+ .. example ::
128
+ A company hosts an annual picnic, including a raffle. There are five raffle prizes for a free
129
+ vacation day, which must be redeemed by the end of the year. The winners of this raffle all have
130
+ the tag `Raffle Winner - 2025 Employee Picnic Prize ` added to their employee profiles.
131
+
132
+ The time off officer creates multiple allocations, and configures the :ref: `Multiple Requests
133
+ form <time_off/allocation-form>` as follows:
134
+
135
+ The name for the allocation is :guilabel: `Vacation Day - Raffle Prize - 2025 Picnic `. The
136
+ :guilabel: `Mode ` is set to :guilabel: `By Employee Tag `, and the :guilabel: `Tag ` identified is
137
+ :guilabel: `Raffle Winner - 2025 Employee Picnic Prize `.
138
+
139
+ The :guilabel: `Time Off Type ` is set to :guilabel: `Vacation Time Off `, with the
140
+ :guilabel: `Allocation Type ` set to :guilabel: `Regular Allocaiton `, since the time off is given up
141
+ front, and is not *earned *.
142
+
143
+ The :guilabel: `Validity Period ` is set to :guilabel: `07/18/2025 ` :icon: `oi-arrow-right `
144
+ :guilabel: `12/31/2025 `, since the compnay picnic was that day, and the earned vacation day
145
+ expires at the end of the year.
146
+
147
+ The :guilabel: `Allocation ` is set to :guilabel: `1.00 Days `, and `A bonus vacation day won at the
148
+ annual Company Picnic. ` appears in the details at the bottom.
149
+
150
+ .. image :: allocations/multiple-requests.png
151
+ :alt: An allocation request form filled out for a bonus vacation day for raffle winners.
132
152
133
153
.. _time_off/request-allocation :
134
154
@@ -146,13 +166,15 @@ list view. Both buttons open a new allocation request form.
146
166
.. note ::
147
167
Both options open a new allocation request form, but when requested from the
148
168
:guilabel: `Dashboard `, the form appears in a pop-up window, and the *Validity Period * field does
149
- **not ** appear. When requested from the :guilabel: `My Allocations ` list view, the screen
150
- navigates to a new allocation request page, instead of presenting a pop-up window.
169
+ **not ** appear.
170
+
171
+ When requested from the :guilabel: `My Allocations ` list view, the screen navigates to a new
172
+ allocation request page, instead of presenting a pop-up window.
151
173
152
174
Enter the following information on the new allocation request form:
153
175
154
- - :guilabel: `Time Off Type `: Select the type of time off being requested for the allocation from the
155
- drop-down menu . After a selection is made, the title updates with the time off type.
176
+ - :guilabel: `Time Off Type `: Using the drop-down menu, select the type of time off being requested
177
+ for the allocation . After a selection is made, the title updates with the time off type.
156
178
- :guilabel: `Validity Period `: By default, the current date populates this field, and it is **not **
157
179
able to be modified. This field **only ** appears when requesting an allocation from the
158
180
:guilabel: `My Allocations ` view (:menuselection: `Time Off --> My Time --> My Allocations `).
@@ -167,8 +189,7 @@ If the request was created from the :guilabel:`Dashboard`, click the :guilabel:`
167
189
on the :guilabel: `New Allocation ` pop-up window to save the information and submit the request.
168
190
169
191
If the form was completed from the :guilabel: `My Allocations ` list view, the information is
170
- automatically saved as it is entered. However, the form can be saved manually at any time by
171
- clicking the :icon: `fa-cloud-upload ` :guilabel: `(cloud upload) ` icon.
192
+ automatically saved as it is entered.
172
193
173
194
.. image :: allocations/allocation-request.png
174
195
:alt: An allocation request form filled out for an employee requesting an additional week of
0 commit comments