Confidential Salary Payments: hide employee details in bank statements
by Aerya IT Solutions https://aerya.net$ 82.18
Odoo 17, 18 and 19, requires Odoo Enterprise · Developed in the European Union by Aerya IT Solutions
Confidential Salary Payments: hide employee details in bank statements
Every accountant who opens the bank statement sees who earns what: the employee's name, account number and the transfer label. This module recognises salary payments as the bank lines are imported, moves those details to fields only payroll can read, shows a neutral label instead and reconciles the transfer, so the bookkeeping goes on without exposing salaries.
Employee, account number and original texts for payroll only
Salary batch payments and their entries hidden from other users
The transfer reconciled at import with the salary batch or 421
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.
Screenshots of Odoo 17 Enterprise.
on Odoo 19
no warnings
The problem
Every accountant who opens the bank statements sees who earns what. The salary transfers carry the name of the employee, the account number and the payroll reference. The person who reconciles the bank in the morning does not need that, and the company would rather they did not have it. Hiding it by hand does not work: the bank file arrives every month with the same lines, and the people who handle the bank must still reconcile them, or the books do not close.
What the company wants is a bank line that reads "Salary payment", that the accountant can reconcile, while the details stay with payroll.
What the module does
It recognises salary payments when bank lines are imported, using rules you write. A recognised line gets a neutral label. The employee, the account number, the notes and the transaction details move to fields that only users with the right See salary payment details can read. The transfer can be reconciled at import, with a salary batch payment or on a counterpart account. Salary batches and their payments are hidden from everyone else. The module extends the batch payments of Odoo Enterprise, so it requires Odoo Enterprise.
How it works, step by step
- Install and give the right. Install it on an Odoo Enterprise database with batch payments (account_batch_payment). Give the group See salary payment details to the payroll officers. It works without Odoo Payroll.
- Write the rules. An accounting administrator opens Accounting > Accounting > Salary payments and creates a rule: keywords looked for in the label, the counterparty and the notes of a bank line, at the start of a word (case and accents are ignored), the direction (payments by default), the bank journals, the neutral label, and how the line is reconciled.
- Import the bank statement. A line that a rule recognises is anonymised: its label becomes the label of the rule, and the partner, the counterparty name, the account number, the notes and the transaction details move to fields that only the salary details right can read. The journal items follow the neutral label and carry no partner.
- Reconcile. The rule decides: none, so the accountant reconciles as usual; a salary batch payment, matched with the open outstanding items of a validated salary batch of the same journal and amount; or a counterpart account, such as 421 net salaries payable, when salaries are not paid through Odoo payments.
- Mark the salary batches. Tick Salary batch on a batch payment. The batch and its payments are then visible only to the salary details right.
- Catch what the rules missed. Select the lines and use the action Mark as salary payment. Payroll sees the original details in Salary bank lines.
A worked example
The rule is Monthly salaries, with the keywords salar, payroll, nomina, the journal Bank, and the reconciliation with a salary batch. The keyword salar finds salary, salariu and salarii, because it matches the start of a word. The month's batch has four transfers. The bank sends one line for the total. On import the line is labelled Salary payment, with no partner, and is matched with the four outstanding payments of the validated batch. The accountant sees one reconciled line. The payroll officer opens Salary bank lines and sees the original texts.
Features
Salary bank lines for payroll
The list of salary lines with their original details is for the salary details right only. Everyone else sees the neutral label.

A rule per kind of payment
Keywords, direction, journals, label and reconciliation are set per rule. Billing users read the rules, and accounting administrators create and change them.

The batch transfer reconciled
A bank line for the whole batch is matched with the outstanding payments of a validated salary batch of the same journal and amount.

Salary batches hidden from others
A batch marked as a salary batch, and its payments, are visible only to the salary details right.

Settings and options
| Keywords | Looked for at the start of a word in the label, counterparty and notes. Case and accents are ignored. |
| Direction | Payments by default. |
| Bank journals | The journals the rule applies to. |
| Label shown | The neutral label of the anonymised line. |
| Reconciliation | None, salary batch payment, or a counterpart account. |
| Group | See salary payment details, for the payroll officers. |
What it does not do
- The journal entries of salary payments are hidden from users without the right, but their journal items stay in the ledgers, the reports and the Journal Items list, because a ledger must be complete. They show the partner and the memo of the payment: give salary payments a neutral memo.
- Payroll entries of Odoo Payroll are not touched.
- A bank line already reconciled, even in part, cannot be marked by hand: undo the reconciliation first.
- Lines imported before the rule existed are not changed. Use Mark as salary payment.
- A salary batch transfer split over several bank lines is left open for the accountant.
- On Odoo 18 and 19, salary payments without a journal entry (a payment method without an outstanding account) cannot be matched with the transfer. The line is anonymised and left open.
Requirements
| Odoo versions | 17, 18 and 19 |
| Editions | Requires Odoo Enterprise |
| Odoo apps | Accounting with batch payments (account_batch_payment) |
| Modules of ours | None |
| Languages | English, Spanish and Romanian |
Questions
Can the accountant still reconcile the bank?
Yes. The line keeps its amount and its date, with a neutral label. Reconciliation can even run at import, by rule.
Do I need Odoo Payroll?
No. The module works without it, and it does not touch payroll entries.
What if a rule misses a line?
Select it and use Mark as salary payment, a right of the salary details group.
Are the ledgers hidden too?
No. The journal items of salary payments stay in the ledgers and reports, as a ledger must be complete. Hide the details by giving the payments a neutral memo.
Does it work with several companies?
Yes. The rules have multi-company rules.
Explore our other apps
More modules by Aerya IT Solutions for Odoo 19, built to work together.
Questions or a custom quote?
Write to info@aerya.ro for questions about the module, its installation or custom development.
Aerya IT Solutions · Developed in the European Union · aerya.net
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 518 |
| Technical Name |
aerya_salary_lines |
| 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