Leave Bulk Approval
Approve or refuse a whole list of time off requests at once, and see on every request how many colleagues of the same department are already off on those days.
| Odoo | 19.0, 20.0 |
| Editions | Community, Enterprise |
| Works with | Time Off |
| Licence | OPL-1, 14 EUR |
| Tests | 8 automated, run on every version |
| Module | leave_ |
The situation
Before the holidays the Time Off approval list fills up: Jennie, Ronnie and Walter from Research & Development all ask for the same week, Rachel from Sales wants the Friday her only colleague is already off. To decide, the approver opens each request, checks the Overlaps panel and the calendar, then clicks Approve one by one. Nothing stops the third person of a three-person team from being approved, and a refusal arrives with no reason unless someone types one.
This module adds a Pending Approvals list under Time Off › Management. Every request shows how many colleagues of its department are approved off and pending on its busiest day, against a Max. Employees Off you set per department. Select requests and click Approve or Refuse with Reason: the approval runs through Odoo's own approval rules, the cap is checked request by request, and every request of the batch gets a log line in its chatter.
What it adds
Getting started
Open Apps, clear the Apps filter, search for Leave Bulk Approval and click Activate. It needs Time Off, which Odoo installs for you if it is missing. The Pending Approvals menu appears under Time Off › Management.
Apps › leave_bulk_approval › Activate
Open Employees › Departments and fill in Max. Employees Off on each department you want to limit; leave 0 where any number may be off. Then pick what happens when an approval goes over that number: Warn and approve, or Block the approval. The setting is per company, in the Employees settings.
Settings › Employees › Time Off Approvals
Open Time Off › Management › Pending Approvals. Red rows are over their department cap, orange ones at risk. Tick the requests you agree with and click Approve; the wizard shows which ones the cap holds back, then approves the rest in one batch. For the ones you turn down, tick them and click Refuse with Reason, type the reason once and confirm. Each request keeps the batch line in its chatter.
Fine print
Log
Need a different cap rule?
Tell us your Odoo version and how you'd like the limit counted (per team, per job, per site), and we'll tell you what it takes.
Email odoo.expert.111@gmail.com
Also by Awins
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module