OdooWiki OCA HUB

Payroll Rule Time Parameter

payroll_rule_time_parameter folder_open OCA/payroll open_in_new
Payroll License: LGPL-3

This module adds Rule Parameters to payroll configuration menu.

Use in salary rule python code like this:

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds a 'Time Parameters' menu under Payroll configuration where payroll managers can define rule parameters for payslips, and lets salary rules read those parameters directly from a payslip.

This module connects the generic time parameter feature to payroll. It adds a new menu entry called 'Time Parameters' inside the Payroll configuration menu, opening a list and form screen for rule parameters. The screen is filtered so it only shows parameters linked to the payslip model, and new records created from there are automatically linked to payslips.

On the payslip itself, a helper method named rule_parameter is added to hr.payslip. Salary rules can call it to fetch a parameter value for a given code, optionally for a specific date; if no date is given, the payslip start date is used. The value is retrieved through the existing time parameter mechanism, so the actual parameter definitions and their versions come from the base time parameter module.

Access rights are set so payroll managers can read, create, edit and delete both parameters and their versions, while general HR users get read-only access. No new models, reports, emails or scheduled jobs are introduced by this module; it mainly exposes existing parameter functionality in the payroll configuration area and makes it usable from payslip salary rules.

Menus it adds

Time Parameters
Models and fields (1)
  • hr.payslip · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.