Payroll for Odoo 16 Community
Pay your employees from Odoo 16 Community Edition: salary structures and rules, payslips computed from the contract and the time off, in batches, with the payslip printed or emailed.
From the contract to the net, rule by rule
Pick the employee and the period: the contract, the structure and the worked days are filled in, and the payslip is computed rule by rule — basic, allowances, deductions, gross and net.
The time off is counted for you
The worked days of the period are taken from the working schedule, and the time off of the employee is listed on its own lines, ready for the salary rules.
Structures and rules for the pay of your country
A salary structure is a set of rules, and a structure can inherit from another one. Each rule says when it applies and how much it is worth.
The usual allowances, ready to use
The contract holds the House Rent, Dearness, Travel, Meal, Medical and Other allowances, and the base structure installs a rule for each of them.
The whole payroll of the month, in one go
Create a batch for the period, generate the payslips of the employees you choose, compute them and confirm them together.
Post the payslips to the books
Add Payroll Accounting to post a journal entry for each confirmed payslip, from the accounts of the salary rules. Install it from Payroll > Configuration > Settings.
Community and Enterprise
Works with Odoo 16 Community and Odoo 16 Enterprise. On Enterprise, it cannot be installed together with the Enterprise Payroll app: both define the payslips and the salary rules. Use one or the other.
Help us make it better
Odoo Mates HR is open source and grows with the people who use it. Every report, review, fix and translation is welcome. New to it? Ask, and we guide you.
i18n files of each module.github.com/odoomates/hr · odoomates@gmail.com
If you love it, let us know. Always your Odoo Mates.
Please log in to comment on this module
Dear all, I have a when Generate Payslip for employee. Employee creates two leave with two time off types, For example: A leave with time off types is paid time off from 8:00am to 10:00am Another leave from 10:00am to 13:00am Both vacations are for 1 day When Generate Payslips for that employee, there is ValueError: Expected singleton: hr.leave.type(1, 7) Please hepl me! Thank you.
File "/home/developer/Desktop/tvs_project/odoo16_base_addons/addons/web/controllers/dataset.py", line 33, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/home/developer/Desktop/tvs_project/odoo16_base_addons/odoo/api.py", line 461, in call_kw result = _call_kw_multi(method, model, args, kwargs) File "/home/developer/Desktop/tvs_project/odoo16_base_addons/odoo/api.py", line 448, in _call_kw_multi result = method(recs, *args, **kwargs) File "/home/developer/Desktop/tvs_project/third_app/om_hr_payroll/wizard/hr_payroll_payslips_by_employees.py", line 25, in compute_sheet slip_data = self.env['hr.payslip'].onchange_employee_id(from_date, to_date, employee.id, contract_id=False) File "/home/developer/Desktop/tvs_project/third_app/om_hr_payroll/models/hr_payslip.py", line 463, in onchange_employee_id worked_days_line_ids = self.get_worked_day_lines(contracts, date_from, date_to) File "/home/developer/Desktop/tvs_project/third_app/om_hr_payroll/models/hr_payslip.py", line 209, in get_worked_day_lines 'name': holiday.holiday_status_id.name or _('Global Leaves'), File "/home/developer/Desktop/tvs_project/odoo16_base_addons/odoo/fields.py", line 1132, in __get__ record.ensure_one() File "/home/developer/Desktop/tvs_project/odoo16_base_addons/odoo/models.py", line 5119, in ensure_one raise ValueError("Expected singleton: %s" % self) ValueError: Expected singleton: hr.leave.type(1, 7)Re: Dear all, I have a when Generate Payslip for employee. Employee creates two leave with two time off types, For example: A leave with time off types is paid time off from 8:00am to 10:00am Another leave from 10:00am to 13:00am Both vacations are for 1 day When Generate Payslips for that employee, there is ValueError: Expected singleton: hr.leave.type(1, 7) Please hepl me! Thank you.
Hi,
Could you ping us in odoomates@gmail.com .
4
4
Thank you for the rating!
4
Dear all, I have a when Generate Payslip for employee. Employee creates two leave with two time off types, For example: A leave with time off types is paid time off from 8:00am to 10:00am Another leave from 10:00am to 13:00am (Time off types is Sick time off).Both vacations are for 1 day When Generate Payslips for that employee, there is ValueError: Expected singleton: hr.leave.type(1, 7) Please hepl me! Thank you.
File "/home/developer/Desktop/tvs_project/odoo16_base_addons/addons/web/controllers/dataset.py", line 33, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/home/developer/Desktop/tvs_project/odoo16_base_addons/odoo/api.py", line 461, in call_kw result = _call_kw_multi(method, model, args, kwargs) File "/home/developer/Desktop/tvs_project/odoo16_base_addons/odoo/api.py", line 448, in _call_kw_multi result = method(recs, *args, **kwargs) File "/home/developer/Desktop/tvs_project/third_app/om_hr_payroll/wizard/hr_payroll_payslips_by_employees.py", line 25, in compute_sheet slip_data = self.env['hr.payslip'].onchange_employee_id(from_date, to_date, employee.id, contract_id=False) File "/home/developer/Desktop/tvs_project/third_app/om_hr_payroll/models/hr_payslip.py", line 463, in onchange_employee_id worked_days_line_ids = self.get_worked_day_lines(contracts, date_from, date_to) File "/home/developer/Desktop/tvs_project/third_app/om_hr_payroll/models/hr_payslip.py", line 209, in get_worked_day_lines 'name': holiday.holiday_status_id.name or _('Global Leaves'), File "/home/developer/Desktop/tvs_project/odoo16_base_addons/odoo/fields.py", line 1132, in __get__ record.ensure_one() File "/home/developer/Desktop/tvs_project/odoo16_base_addons/odoo/models.py", line 5119, in ensure_one raise ValueError("Expected singleton: %s" % self) ValueError: Expected singleton: hr.leave.type(1, 7)Dear all, I have a when Generate Payslip for employee. Employee creates two leave with two time off types, For example: A leave with time off types is paid time off from 8:00am to 10:00am Another leave from 10:00am to 13:00am (Time off types is Sick time off).Both vacations are for 1 day When Generate Payslips for that employee, there is ValueError: Expected singleton: hr.leave.type(1, 7) Please hepl me! Thank you.
Update: this was a bug with two time offs of different types following each other on the same day. It is fixed in the latest version: download it and upgrade the module, and the payslips generate again with one line per time off.
4
Easy to apply and clear explanation