Payroll Base: Payslips, Payroll Batches, Journal Entries and Bank Payment
by Aerya IT Solutions https://aerya.net$ 21.91
Odoo 17, 18, 19 and 20, Community and Enterprise · Developed in the European Union by Aerya IT SolutionsPayroll Base: Payslips, Payroll Batches, Journal Entries and Bank Payment
The country-neutral payroll engine of the Aerya payroll modules. It runs the monthly batch, the payslips and their lines, posts the payroll entry and records the salary payment; a country module (Malaysia first) adds the statutory rules.
Payslips with recurring and monthly inputs
One journal entry per batch, net pay per employee
Salary bank payment reconciled with the net pay
no payroll app or hr_contract needed
Runs on Odoo.sh and on-premise, not on Odoo Online (SaaS), where Odoo does not allow modules with Python code. Please buy the version that matches your database.

on Odoo 18, on each of the four versions: computation, locks, access rights, accounting and browser
no warnings, and a code review against its checklist
states and lines are written only by the module's buttons, tested against direct writes
Payroll that ends up in a spreadsheet
In many companies the monthly payroll is a spreadsheet: payslips made by hand or by an outside tool, a journal entry typed into accounting each month, and a salary bank payment matched line by line. Nobody can tell afterwards which payslip produced which entry, and a correction means editing the books directly.
What it does
Payroll Base is the country-neutral part of payroll: employees on payroll, the monthly batch, the payslips with their lines and inputs, the payslip PDF, one journal entry per batch and the salary bank payment reconciled with the net pay. It does not know any tax or social security rule. Those come from a country module built on it, Malaysia first. On its own it pays the wage and the inputs you enter, with no deduction, which is the "Inputs only" rule.
It needs only Employees, Invoicing and Discuss. It does not need a payroll app or hr_contract.
How a month of payroll works, step by step
- Configure once. In the Payroll settings choose the payroll journal, the salary bank journal, the default salary expense account and the net salary payable account. Under Configuration › Accounting rules give each payslip line code its expense account, its liability account and its payee.
- Put employees on payroll. On the employee form, the Payroll data tab holds the payroll rules (country), the monthly wage, the payroll start and end dates, the staff number, the salary bank account and the recurring inputs.
- Create the batch. Open Payroll › Payroll batches, create a batch for the month and press Generate payslips: one payslip per employee on the payroll.
- Add the inputs of the month. Bonuses, deductions and benefits in kind, from the input types, next to the recurring ones.
- Compute. The wage is prorated by calendar days on the payroll and by unpaid leave days, inputs and country lines are added, and the totals of the batch show the gross, the net and the employer cost.
- Confirm. A payroll administrator confirms the batch. A confirmed payslip can no longer be changed or deleted.
- Post the journal entry. Post journal entry creates one entry for the batch.
- Pay. Record bank payment records the payment of the salaries and reconciles it with the net pay line of each employee.
- Print. Print payslips prints all the payslips of the batch as PDF.
The journal entry
- Earnings and employer contributions go to expense accounts.
- Deductions and contributions go to liability accounts, with their authority as partner, so the open balance of each authority is visible.
- The net pay of each employee goes on the net salary payable account, with the employee's work contact as partner.
- A batch that contains a line code without accounts does not post. The message lists the codes to fix.
- Reset accounting cancels the payment and the entry in the right order, so a mistake is corrected without touching the books by hand.
Locks and access rights
- Payslip state and lines are written only by the module's buttons, never by a direct edit.
- A cancelled payslip goes back to draft only when no later confirmed payslip of the year relies on it.
- The journal entries of a batch are not set back to draft from Accounting: use Reset accounting.
- Two groups: the Officer prepares and computes, the Administrator confirms, posts, pays and configures.
- Multi-company record rules apply to every model.
Country modules
Screenshots of Odoo 18 Enterprise with the data of a fictitious company. The base pays the wage and the inputs with no tax on its own ("Inputs only" rules). Statutory deductions come from the country modules built on it:
| Malaysia | aerya_my_payroll: EPF, SOCSO, EIS, SKBBK, PCB, CP39, PERKESO, EA form, C.P.8D |
| Next | Singapore, Philippines and New Zealand are planned on the same base |
| Odoo versions | 17, 18, 19 and 20, Community and Enterprise |
| Depends on | Employees, Invoicing, Discuss |
| Language | English |
Settings and options
| Payroll journal | The journal that receives the entry of each batch. |
| Salary bank journal | The journal of the salary payment. |
| Default salary expense | The expense account used when a line code has no rule of its own. |
| Net salary payable | The account that holds the net pay of each employee until it is paid. |
| Input types | Earnings, deductions and benefits in kind, with stable codes. |
| Accounting rules | Per line code: expense account, liability account and payee. |
What it does not do
- It has no tax or social security rule of its own. With the Inputs only rule, the payslip holds the wage and the inputs, with no deduction. Statutory deductions come from a country module such as the Malaysia one.
- A payroll batch covers one calendar month, from the 1st to the last day.
- An employee without a work contact cannot be posted, because the net pay line needs a partner.
- It is not an attendance or leave app. It reads unpaid leave days to prorate the wage.
- It does not file returns by itself. Returns come from the country modules.
Requirements
- Odoo 17, 18, 19 or 20, Community or Enterprise.
- Employees, Invoicing and Discuss. No payroll app and no
hr_contract. - A host that allows modules with Python code: Odoo.sh or your own server.
- English interface.
Frequently asked questions
Can I use it without a country module?
Yes, with the Inputs only rule: the payslip holds the wage and the inputs, with no tax or social security.
Do I need the Odoo payroll app?
No. It runs on Employees, Invoicing and Discuss, on Community or Enterprise.
How is a part month paid?
The wage is prorated by calendar days on the payroll, and unpaid leave days are deducted.
What if I made a mistake after posting?
Use Reset accounting on the batch, correct the payslips and post again.
Can a country module be added later?
Yes. A country module adds its value to the employee's payroll rules and computes the statutory lines. Malaysia is the first one.
Explore our other apps
More modules by Aerya IT Solutions for Odoo 18, built to work together.
Questions or a custom quote?
Write to info@aerya.ro for questions about the module, its installation or custom development.

Developed in the European Union by Aerya IT Solutions, Odoo implementation and development. aerya.net
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Employees (hr) • Invoicing (account) |
| Lines of code | 1526 |
| Technical Name |
aerya_payroll_base |
| License | OPL-1 |
| Website | https://aerya.net |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module