| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Payroll (hr_payroll)
• Discuss (mail) • Employees (hr) |
| Lines of code | 97 |
| Technical Name |
absence_day |
| License | OPL-1 |
| Website | https://www.ganemo.co |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Payroll (hr_payroll)
• Discuss (mail) • Employees (hr) |
| Lines of code | 97 |
| Technical Name |
absence_day |
| License | OPL-1 |
| Website | https://www.ganemo.co |
Absence Day
Work Entry Types, Leave Type Codes & Default Absence Records
Pre-configure essential work entry types — Days off (DSO), Global Leave, and Night Shift — plus Leave Type Code, Work Entry "Own Rule" flag, and the default PPD absence record for seamless payroll integration.
What We're Solving
----------------
Missing Absence Categories
Odoo's default installation does not include work entry types for weekly rest days (DSO), public holidays, or night shifts. Without these, payroll calculations cannot correctly differentiate between attendance, rest, and overtime periods.
Modular Foundation
This module is a lightweight foundational component. It installs three work entry type records, adds a Code field to Leave Types, an "Own Rule" flag to Work Entry Types, creates the default "Pending Determination" (PPD) leave type, and extends the Work Schedule form with a Global Time Off tab. Other modules (like absence_manager, filter_payroll, and automatic_leave_type) depend on it.
Work Entry Types Reference
Preconfigured Records
WORKD
Days off
Weekly rest days (DSO). Used by downstream payroll modules to skip monitoring and correctly compute rest-day pay.
Sequence: 100WORKG
Global Leave
Public holidays. Preconfigured with round_days=FULL and round_days_type=UP to ensure holidays count as full days.
Sequence: 25WORKN
Night shift
Night shift entries for payroll differentiation. Enables separate tracking and reporting for employees on night schedules.
Sequence: 25Leave Type Code & PPD Record
Payroll Integration Foundation
Code Field
A Code (Char) field is added to
Leave Types (hr.leave.type). This short internal
identifier (e.g., PPD, 20) is used by payroll rules
and filters to classify absences programmatically without relying on names or
numeric IDs.
Where: Leaves → Configuration → Leave Types → form view, visible as a new field before "Approval".
PPD Record
A default leave type "Pendiente por determinar"
(Pending Determination) is created automatically with code PPD.
It serves as a placeholder for absences that have not yet
been classified — for example, when an employee fails to check in and the
reason is unknown.
Own Rule Flag
A "¿Es calculado por su propia regla?"
(is_calc_own_rule) Boolean field is added to
Work Entry Types (hr.work.entry.type). When checked,
it signals that this entry type is computed by its own dedicated payroll rule rather
than the standard attendance calculation. Used by downstream payroll modules to
determine which salary rules to apply.
Where: Payroll → Configuration → Work Entry Types → form view, visible after the "Sequence" field.
Setup & User Manual
Step-by-Step implementation
1. Installation
Get up and running in 3 quick steps:
- Place the absence_day folder in your Odoo addons path.
- Go to Apps, search for "Absence Day", and click Install.
- The three work entry types (WORKD, WORKG, WORKN) are created automatically.
- The Code field is added to Leave Types, the Own Rule flag to Work Entry Types, and the PPD record is created.
- No further configuration is needed to start.
2. Operating Manual (Workflow)
How to use the new work entry types in your daily operations:
Weekly Rest Days (DSO)
Go to Employees → Work Schedules. For non-working days (e.g., Sunday), set the Work Entry Type to "Days off" (WORKD). Payroll and absence modules will automatically skip these days.
Public Holidays
Open your Work Schedule and go to the new "Global Time Off" tab. Add public holiday entries and assign the "Global Leave" (WORKG) work entry type. Each holiday is automatically rounded to a full day.
Night Shifts
For employees working night schedules, assign the "Night shift" (WORKN) work entry type to the corresponding schedule lines. This enables separate payroll tracking and reporting for nocturnal hours.
Downstream Integration
Modules like absence_manager and payroll processors depend on these work entry types. Once installed, they are automatically detected and used by dependent modules without any manual linking.
Global Ready | Multi-Language Support
This module is fully translated into English and Spanish (en_US, es_ES, es_PE, es_MX), ensuring a professional experience for international organizations.
Why Choose Ganemo?
----------------
Ganemo is the world's leading Odoo App developer and a multi-award-winning Gold Partner. For over 5 years, we have been recognized as the #1 seller of high-quality apps on the Odoo App Store. Trusted as the "Best Partner" in USA, Mexico, Chile, Spain, Colombia, Ecuador, and Peru, we deliver robust, secure, and localization-compliant solutions for global businesses.
Get a Quote & Resolve Commercial Doubts
Join thousands of satisfied clients on Odoo. Contact our sales team directly.
Official WhatsApp
Fastest response time.
LINK
+1 (828) 672-6150
Book a Demo
Let's explore your needs.
LINK
Schedule Meeting
Need More? We Do It All
Professional Odoo Services
ERP Implementation
Transform your business with a full Odoo implementation. We analyze, configure, and train your team to maximize productivity. From Accounting to Inventory, we handle the complexity so you can focus on growth.
Module Dev & Migration
Need a custom feature? Or stuck on an older version? We develop high-performance custom modules and migrate your existing code to Odoo 19 with zero data loss. Expert developers at your service.
QA / User Testing Scenarios
Enterprise Validation Plan
Scenario 1: Work Entry Types Created
- Install the Absence Day module.
- Go to Payroll → Configuration → Work Entry Types.
- Test: You SHOULD see three new entries: Days off (WORKD), Global Leave (WORKG), and Night shift (WORKN).
- Verify that WORKG has
round_days=FULLandround_days_type=UP.
Scenario 2: Global Time Off Tab
- Go to Employees → Work Schedules.
- Open any Work Schedule (Resource Calendar).
- Test: You SHOULD see a new "Global Time Off" tab after the "Working Hours" tab.
- Add a new line with a name (e.g., "New Year"), date range, and assign the "Global Leave" (WORKG) work entry type.
- Result: The record MUST save without errors.
Scenario 3: Work Schedule Assignment
- Open a Work Schedule and go to the "Working Hours" tab.
- For the non-working day (e.g., Sunday), change the Work Entry Type to "Days off" (WORKD).
- Test: Generate work entries for an employee using this schedule.
- Result: Sundays MUST appear with type WORKD in the generated entries.
Scenario 4: Safe Uninstall
- Ensure no other module depends on absence_day.
- Uninstall the module from Apps.
- Result: The 3 work entry type records MUST be removed cleanly. No orphan data should remain.
Scenario 5: Leave Type Code Field
- Go to Leaves → Configuration → Leave Types.
- Open any leave type record.
- Test: You SHOULD see a "Code" field in the form, before the Approval field.
- Enter a code (e.g.,
VAC) and save. - Result: The code MUST persist after saving and be usable for filtering in payroll views.
Scenario 6: PPD Leave Type Created
- Install the Absence Day module.
- Go to Leaves → Configuration → Leave Types.
- Test: You SHOULD see a leave type named
"Pendiente por determinar" with Code =
PPD. - Verify that Requires Allocation is set to No and Approval is By Time Off Officer and Approver.
Scenario 7: Own Rule Flag on Work Entry Types
- Go to Payroll → Configuration → Work Entry Types.
- Open any work entry type record.
- Test: You SHOULD see a "¿Es calculado por su propia regla?" checkbox after the "Sequence" field.
- Toggle the checkbox and save.
- Result: The value MUST persist after saving. Downstream payroll modules should use this flag to determine rule application.
FAQ & Troubleshooting
Common Resolutions
I don't see the new Work Entry Types?
Reason: The module may not be installed, or
the data was loaded with noupdate="1" in a previous version.
Fix: Verify the module is installed in Apps. If needed, uninstall and reinstall to force data reload.
Can I uninstall without losing data?
Answer: The 3 work entry type records will be removed upon uninstall.
Tip: If absence_manager or other modules reference these records, uninstall those first to avoid dependency errors.
Why is this a separate module?
Reason: These work entry types are useful for multiple payroll and absence modules.
Detail: Keeping them separate allows modular composition. Install only what you need, and share the same types across different HR workflows.
Is this compatible with Multi-company?
Answer: Yes!
Detail: Work entry types in Odoo are global records (not company-specific), so they are available across all companies in a multi-company setup.
Commercial & Sales
For inquiries about licenses, demos, or partnerships.
Official WhatsApp
Fastest response time.
LINK
+1 (828) 672-6150
Book a Demo
Let's explore your needs.
LINK
Technical Support
Existing customers regarding module functionality.
© 2026 Ganemo. All rights reserved. visit ganemo.com
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