Skip to Content
Menu
v 14.0 Third Party 16
Download for v 14.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Employee Contracts (hr_contract)
Discuss (mail)
Time Off (hr_holidays)
Employees (hr)
Calendar (calendar)
Community Apps Dependencies
Lines of code 4791
Technical Name payroll_payslip_dictionary
LicenseAGPL-3
Websitehttps://github.com/trevi-software/trevi-hr
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Employee Contracts (hr_contract)
Discuss (mail)
Time Off (hr_holidays)
Employees (hr)
Calendar (calendar)
Community Apps Dependencies
Lines of code 4791
Technical Name payroll_payslip_dictionary
LicenseAGPL-3
Websitehttps://github.com/trevi-software/trevi-hr

Payslip Dictionary

Beta License: AGPL-3 trevi-software/trevi-hr

This module provides additional values that can be used in salary rules. These values are available to salary rules in two objects called “payroll” and “current_contract”. The values under “payroll” are calculated once during payslip processing. The values under “current_contract” are calculated just before each contract in the payslip is processed.

Table of contents

Usage

The new values provided by this module are: * payroll.max_weekly_hours - the maximum number of weekly work hours * payroll.max_working_days - the maximum number of working days in the period * payroll.max_working_hours - the maximum number of working days in the period * payroll.seniority - the length of employment calculated in months * payroll.contracts.cummulative_ppf - the sum of the payroll period factors of all the contracts * current_contract.ppf - the payroll period factor for the contract being processed * current_contract.daily_wage - the wage on the contract being processed converted to a daily wage * current_contract.hourly_wage - the wage on the contract being processed converted to an hourly wage

The payroll period factor is a decimal denoting the validity period of the contract between the start and end dates of the payslip. A factor of 1 means the contract covers the entire period of the payslip. A value less than one denotes the percentage of the payslip duration covered by the contract. In this case if the payslip is for the period from April 1 to April 30 and the employee’s contract ends on April 15 then the payroll period factor will be 0.5. The cummulative_ppf is the sum of all the indvidual contracts’ ppf.

Changelog

14.0.1.1.0 (2022-08-17)

  • [FIX] Some functionality from this repo was incorporated into OCA/Payroll. As a result accomodate changes in the dictionary naming scheme.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • TREVI Software
  • Michael Telahun Makonnen

Other credits

Maintainers

This module is part of the trevi-software/trevi-hr project on GitHub.

You are welcome to contribute.

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, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.