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
    • Artificial Intelligence
    • 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
    • Affiliate Program
    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. Human Resources
  3. Odoo 16 HR Payroll v 16.0
  4. Sales Conditions FAQ

Odoo 16 HR Payroll

by Odoo Mates , Odoo S.A.
Odoo 13
v 16.0 Third Party 22551
Download for v 16.0 Deploy on Odoo.sh Live Preview
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 13.0 14.0 15.0 16.0 17.0 18.0 19.0 20.0
You bought this module and need support? Click here!
Versions 13.0 14.0 15.0 16.0 17.0 18.0 19.0 20.0
  • Description
  • Manifest

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.

Salary rules Payslip batches Contribution registers Community Edition
Payslip

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.

✓  Salary Computation, and the same figures added up by category.
✓  Draft, Waiting, Done and Rejected.
✓  Refund a payslip when something has to be undone.
✓  Print the PaySlip or the PaySlip Details report, and send it to the employee by email.
Worked days

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.

✓  The days and the hours come from the working schedule of the employee.
✓  Each type of time off of the period gets its own line.
✓  A code on the time off type, read by the salary rules as worked_days.CODE.
✓  Other inputs for what changes every month: overtime, a bonus, a one-off deduction.
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.

✓  A condition that is always true, a range on an amount, or a line of Python.
✓  An amount that is fixed, a percentage of something else, or computed in Python.
✓  Child rules, categories, a sequence, and a switch to keep a rule off the printed payslip.
✓  Contribution registers to group what is owed to a body, with a report of the lines of each one.
Allowances

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.

✓  Fill the amounts on the contract of the employee.
✓  Keep the rules you need, and add your own.
Batches

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.

✓  The payslips of a batch are listed with their status, and each one stays a payslip of its own.
✓  Payslip batches are for payroll managers.
Accounting

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.

Odoo 16 HR Payroll Accounting →
Editions

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.

Join us

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.

Report
Found a bug or a gap? Open an issue, or write to us.
Review
Test the pull requests on your database and comment.
Improve
Fix a bug or add what your HR team needs: send a pull request.
Translate
Bring the apps to your language: the i18n files of each module.

github.com/odoomates/hr · odoomates@gmail.com

If you love it, let us know. Always your Odoo Mates.



Odoo Mates

Keeping it simple

Email: odoomates@gmail.com



Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Discuss (mail)
• Employee Contracts (hr_contract)
• Time Off (hr_holidays)
• Employees (hr)
• Calendar (calendar)
Lines of code 3080
Technical Name om_hr_payroll
LicenseLGPL-3

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.
  • Ratings
  • Discuss
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.
by
SSG
on 7/11/23, 6:07 AM
  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.
by
Odoo Mates
on 7/22/23, 10:18 AM Author

Hi,

Could you ping us in odoomates@gmail.com .



4
by
ziggula
on 5/31/23, 9:27 PM


4
by
Odoo Mates
on 10/29/26, 6:26 AM Author

Thank you for the rating!


by
Myo Thaw Khaing
on 1/21/23, 12:04 AM

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.
by
SSG
on 7/11/23, 6:09 AM
  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.
by
Odoo Mates
on 10/29/26, 6:26 AM Author

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.


by
ziggula
on 5/31/23, 9:27 PM

4


by
Myo Thaw Khaing
on 1/21/23, 12:03 AM

Easy to apply and clear explanation


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