Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. payroll
  3. Filter payroll v 19.0
  4. Sales Conditions FAQ

Filter payroll

by Ganemo https://www.ganemo.co
Odoo

$ 378.00

v 19.0 Third Party
This module requires Odoo Enterprise Edition.
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Payroll (hr_payroll)
• Discuss (mail)
• Employees (hr)
Community Apps Dependencies Show
• Absence Day
• Payroll Fields
Lines of code 1284
Technical Name filter_payroll
Websitehttps://www.ganemo.co
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Payroll (hr_payroll)
• Discuss (mail)
• Employees (hr)
Community Apps Dependencies Show
• Absence Day
• Payroll Fields
Lines of code 1284
Technical Name filter_payroll
Websitehttps://www.ganemo.co

Technical Specification for AI & LLM

This Odoo module 'filter_payroll' extends HR and Payroll by adding dedicated 'CTS' and 'Gratification' fields to hr.attendance, hr.leave, hr.payslip, hr.payslip.worked_days, and hr.work.entry.type. It provides filters in the search views of these models to quickly isolate records related to CTS or Gratification calculations. Compatible with Odoo 19 (Enterprise, Odoo.SH, Ganemo Online). Depends on 'absence_day' and 'payroll_field'. Multi-language support for English and Spanish included.

Enterprise (Odoo.SH, Ganemo Online or Ganemo.SH)
English & Spanish Included

Filter Payroll

CTS & Gratification Days Analysis

Streamline your payroll period analysis by adding targeted filters for CTS and Gratifications directly into Attendances, Time Off, and Payslips.

What We're Solving

----------------

Targeted Payroll Filters

Easily filter leaves, attendances, and worked days by CTS or Gratification labels to speed up mandatory benefit calculations without manual spreadsheet reviews.

Seamless Integration

Works perfectly with Odoo's native Payroll, Attendances, and Time Off apps. The custom fields are naturally injected into the standard views.

Setup & User Manual

Comprehensive Step-by-Step Implementation

1. Configuration Guide

Prepare the system for accurate filtering by configuring your Leave and Work Entry Types. This step ensures that the system correctly identifies which days affect social benefits.

Configure Work Entry Types (Payslips & Attendances)
  1. Navigation: Go to Payroll > Configuration > Work Entries > Work Entry Types.
  2. Selection: Open the specific Work Entry Type you want to categorize (e.g., "Regular Attendance", "Overtime", or an Unpaid Absence).
  3. CTS & Gratification Identification: Locate the "Is License for Social Benefits?" and "Is Absence for Social Benefits?" checkboxes. These are the two boolean fields this module adds to classify work entry types. Note: Enabling either flag will cause records of this type to appear in the CTS and/or Gratification search filters across Payslips, Time Off, and Attendances.
  4. Save: Save the record. Any Time Off Type linked to this Work Entry Type will automatically inherit these flags — no additional configuration is needed there.
Time Off Types (Leaves) — Automatic Inheritance

There is nothing to configure directly on Time Off Types. This module adds the social benefit flags to hr.leave.type as hidden, read-only related fields that automatically mirror the values of the linked Work Entry Type.

  1. How it works: Every Time Off Type is linked to a Work Entry Type (visible in its form). The fields “Is License for Social Benefits?” and “Is Absence for Social Benefits?” on the Time Off Type are automatically inherited from that linked Work Entry Type — they are intentionally hidden in the UI to avoid confusion.
  2. Where to configure: Always set the flags at Payroll > Configuration > Work Entries > Work Entry Types. Once saved there, every Time Off Type that references that Work Entry Type — and every leave record derived from it — becomes instantly filterable by CTS or Gratification, with no further action needed.
Why is this important? Properly tagging your types is the foundation of the module. If a type is not tagged, any actual record (leave or attendance) generated from it will not appear in the CTS or Gratification list, leading to potentially incorrect benefit computations at the end of the semester.

2. Operating Manual & Workflow

How human resources and payroll analysts utilize these filters in their daily operations:

1. Analyzing Payslip Worked Days

When a semester ends (e.g., May for CTS), go to Payroll > Payslips, switch to the List view, and open the Search Bar. Under "Filters", you will see "CTS" and "Gratification". Selecting "CTS" instantly filters all worked days records inside the payslips that are tagged as valid for CTS accumulation. This replaces hours of manual excel filtering.

2. Analyzing Time Off (Leaves)

To verify discounted days for Gratifications (e.g., in July), go to Time Off > Management > Time Off. Apply the "Gratification" filter. You will immediately see all approved leaves that legally discount the employee's gratification calculation, ensuring absolute legal compliance and fair payment.

3. Analyzing Attendances

If your company manages direct attendance shifts, you can go to Attendances > Attendances, click the Search Bar, and use the CTS / Gratification filters. This applies the identical logic inherited from the Work Entry or Holiday Status, unifying the data source.

4. Fast Exporting

Because the filter is applied directly on the List View, the payroll analyst can simply select all the filtered records and click Action > Export. The exported spreadsheet will contain exactly the verified subset of days needed for the financial department.

Filter Reference Summary

Filter Name Exact Menu Location Target Model Filtering Conditions (Logic)
CTS Attendances > Attendances hr.attendance No Holiday Status (False) OR Holiday Code = '20' OR Is Tagged as "License for Social Benefits" OR Is Tagged as "Absence for Social Benefits"
Gratification Attendances > Attendances hr.attendance No Holiday Status (False) OR Is Tagged as "License for Social Benefits" OR Is Tagged as "Absence for Social Benefits"
CTS Time Off > Management > Time Off hr.leave Holiday Code = '20' OR Is Tagged as "License for Social Benefits" OR Is Tagged as "Absence for Social Benefits"
Gratification Time Off > Management > Time Off hr.leave Is Tagged as "License for Social Benefits" OR Is Tagged as "Absence for Social Benefits"

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.

English Spanish

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.

QR WhatsApp

Official WhatsApp

Fastest response time.

COPY
LINK
https://wa.me/18286726150

+1 (828) 672-6150

QR Sales Email

Sales Email

For commercial inquiries.

COPY
ADDR
leads@ganemo.com

leads@ganemo.com

QR Book Demo

Book a Demo

Let's explore your needs.

COPY
LINK
ganemo.co/appointment/5

Schedule Meeting

QA / User Testing Scenarios

Enterprise Validation Plan

Scenario 1: Filtering Worked Days for CTS

  1. Navigate to Payroll > Configuration > Work Entry Types.
  2. Edit the "Generic Time Off" type and check "Is License for Social Benefits?". Save.
  3. Go to Payroll > Payslips and generate a Payslip for an employee that includes "Generic Time Off".
  4. Within the Payslip, go to the Worked Days & Inputs tab. Check that the boolean field indicating the License is True.
  5. Go to the global Worked Days list view (if exposed) or use the Payslip custom filter CTS.
  6. Result: The payslip or the specific worked day record should be fully visible when the filter is active, proving the rule inheritance.

Scenario 2: Identifying Gratification Discounts in Time Off

  1. Navigate to Time Off > Configuration > Time Off Types.
  2. Edit "Unpaid Leave". Check "Is Absence for Social Benefits?". Save.
  3. Navigate to Time Off > Dashboard and create a Time Off request for 3 days using the "Unpaid Leave" type. Approve it.
  4. Go to Time Off > Management > Time Off (List View).
  5. Click the search bar and select the "Gratification" filter.
  6. Result: Only the Unpaid Leave you just created (and any other similarly tagged leaves) MUST appear in the list. Regular paid time off should be hidden.

Scenario 3: Attendance Cross-Filtering

  1. Ensure you have a Time Off Type configured with "Is License for Social Benefits?".
  2. Ensure the Odoo Attendance module has records linked to this type (if your system creates attendances based on time off).
  3. Navigate to Attendances > Attendances.
  4. Apply the CTS filter in the search bar.
  5. Result: The subset of attendances returned MUST strictly match the condition. Verify by opening a record and checking the hidden technical fields.

Scenario 4: Negative Case - Excluded Types

  1. Identify a Time Off Type that has all the Social Benefit flags set to False (e.g., "Regular Working Day" or a non-computable absence).
  2. Process a Payslip containing this type.
  3. Go to the list views for Time Off and Payslips, and apply the CTS / Gratification filters.
  4. Result: These records MUST NEVER appear in the filtered results. This guarantees false positives do not inflate benefit calculations.

FAQ & Troubleshooting

Common Resolutions

Why is my custom Leave Type not showing up when I apply the CTS filter?

Reason: The Leave Type has not been properly tagged in its configuration.

Fix: Go to Time Off > Configuration > Time Off Types. Open the missing type and ensure that "Is License for Social Benefits?" or the respective fields are checked. Once saved, previous records will automatically become visible in the filter.

Does this module automatically calculate the monetary value of CTS/Gratification?

Reason: This module is categorized as an analytical and filtering tool, not a calculator.

Answer: No. This module exposes the necessary filters for the HR Analyst to extract the valid accumulating and discounting days. The actual monetary calculation is typically handled by Odoo's native Salary Rules using the standard inputs gathered from these filters.

If I change a Work Entry Type flag, do I need to recompute existing Payslips?

Reason: Data inheritance architecture.

Answer: No. Because the boolean fields on `hr.payslip.worked_days` and `hr.leave` are established as `related` fields pointing directly to the master configuration, updating the Time Off Type or Work Entry Type dynamically updates the filtering behavior of all historical records instantly.

I get a "Field not found" error when installing the module.

Reason: Missing dependencies.

Answer: Ensure you have installed the `absence_day` and `payroll_field` modules first, as this module injects views securely relying on the XML structure of those base models.

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.

Commercial & Sales

For inquiries about licenses, demos, or partnerships.

QR WhatsApp
Official WhatsApp

Fastest response time.

COPY
LINK
https://wa.me/18286726150

+1 (828) 672-6150

QR Sales Email
Sales Email

For commercial inquiries.

COPY
ADDR
leads@ganemo.com
QR Book Demo
Book a Demo

Let's explore your needs.

COPY
LINK
ganemo.co/appointment/5

Technical Support

Existing customers regarding module functionality.

QR Technical Support
Help Desk

Exclusive channel for technical assistance and bug reports.

COPY
ADDR
support@ganemo.com

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with