This module adds support for advantages templates and advantages to be set in contract form. The advantages can be set in the contract form as a list of advantages templates. Then it can be used in the calculation of the salary rules.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Lets payroll users define reusable advantage templates (with code, default value and allowed minimum/maximum) and attach a list of advantages with amounts to each employee contract, so salary rules can use them in payslip calculations.
This module adds a way to record extra pay items (called advantages) on an employee contract and reuse them in payroll.
- Under Payroll configuration you get a new menu, Contract Advantage Templates, where you create templates. Each template has a name, a code, a default value and a lower and upper bound (the minimum and maximum amount the employer allows).
- On the employee contract form, in the yearly benefits area, a new Contract Advantages list appears. There you pick a template, and the code, lower bound and upper bound are filled in automatically. The amount is pre-filled with the template's default value and can be edited.
- A check prevents saving an amount above the upper bound or below the lower bound; an error message is shown.
- When payslips are computed, the contract's advantages are made available to the salary rules by their template code, so rules can pick up the amount for each advantage.
Access is read-only for HR users and full for payroll users. The module touches hr.contract, hr.payslip and adds the new models hr.contract.advantage and hr.contract.advantage.template.
Depends on
Menus it adds
Models and fields (4)
- hr.payslip · extends an existing model
- hr.contract · extends an existing modeladvantages_ids (Contract Advantages)
- hr.contract.advantage · new modelamount, contract_id, advantage_lower_bound (Lower Bound), advantage_template_id (Advantage Template), advantage_upper_bound (Upper Bound), advantage_template_code (Code)
- hr.contract.advantage.template · new modelcode, name, lower_bound, upper_bound, default_value
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-03Confirmation status: 4 confirmed, 5 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/payroll.
terminal Installation and usage
OCA documentation · Odoo 18.0Usage
Source · Odoo 18.0- Set the advantages templates in the payroll module with lower and upper bounds and default value.
- Go to the employee contract and add the advantages that you want for this contract, default value will be populated but you can change it.
- Then in the salary rules, access this value using current_contract.advantages.[ADVANTAGE_CODE] (without brackets)
No verified information in OCA: Installation, Configuration.
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.
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.