I'm using Odoo 17 and would like to know how I can configure the system so that when I generate a payslip batch containing multiple payslips (e.g., 3 payslips for 3 employees), the system creates only one journal entry that consolidates all the components from each payslip.
Example:
Each payslip contains components such as:
- Basic Salary
- Health Allowance
- General Allowance
- Net Salary
These components come from salary rules defined in each employee’s salary structure.
What I want is:
When the payslip batch is confirmed, it should generate a single journal entry with lines like:
- Basic Salary (sum of all 3 payslips)
- Health Allowance (sum of all 3 payslips)
- General Allowance (sum of all 3 payslips)
- Net Salary (sum of all 3 payslips)
And of course, the journal entry must be balanced.
Is this possible with the default configuration in Odoo 17? If not, is there a specific setting or would it require a customization in the hr_payroll_community module?
Thanks in advance! Let me know if anything is unclear.