Journal Restriction per User: allowed journals in access profiles
by Aerya IT Solutions https://aerya.net$ 63.55
Odoo 17, 18, 19 and 20, Community and Enterprise · Developed in the European Union by Aerya IT Solutions
Allowed journals per user
Bridge of Access Restrictions per User and Invoicing, installed automatically: give a restriction profile its allowed journals, and its users see and use only those, with their entries, journal items, payments, bank statements and the invoice analysis.
Only the companies of the chosen journals are restricted
Invoicing and payments in the allowed journals work as usual
Administrators are never restricted
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 with the data of a fictitious company. The module works on Community and Enterprise.
journals, entries, journal items, payments, invoices and payments in allowed journals, other companies, administrators, browser tour
no warnings, on the four versions
Community and Enterprise
Only their journals
The accounting dashboard, the journal lists, entries and payments show the allowed journals only. A record of another journal cannot be read or changed by these users, also through the API.

Business as usual
Invoices posted in an allowed sales journal and paid in an allowed bank journal work as for anyone else.

The problem: accounting users who see every journal
A company with a cash desk, several banks, a payroll journal and a few sales journals often wants each accountant to work only in their own. The person who posts the petty cash should not see the main bank statement, and a branch clerk should not see the payroll entries. Odoo's accounting rights are all or nothing: a user with the right to read entries reads the entries of every journal.
What the module does
Journal Restriction per User adds an Allowed Journals tab to the restriction profiles of Access Restrictions per User (aerya_access_restrict). The users of the profile see and use only those journals, with their journal entries, journal items, payments, bank statements, statement lines and the invoice analysis. The restriction is made of record rules, so it holds on the screens, in reports, in imports and through the API.
How it works, step by step
- Install. The module installs by itself when Access Restrictions per User and Invoicing are on the database.
- Open the profile. Go to Settings > Users & Companies > Access Restrictions, then create or open a profile for the users or groups you want to restrict.
- Open the Journals tab and add the Allowed Journals. In a multi-company database the tab shows each journal with its company.
- Log in as one of the users. The journals dashboard, the entries, the payments, the statements and the invoice analysis are limited to those journals.
- Work as usual. The user creates invoices and payments in the allowed journals. The ones in other journals are not there to pick or to open.
What is covered
| Journals | Only the allowed journals are listed. |
| Entries and items | Journal entries and journal items of the allowed journals. |
| Payments | Payments of the allowed journals. |
| Bank statements | Statements and statement lines of the allowed journals. |
| Reports | The invoice analysis follows the same journals. |
| Several profiles | A user in more than one profile gets the journals of all of them. |
| Companies | Only the companies of the allowed journals are restricted. A company with no allowed journal in the profile is left alone, on purpose. |
Settings and access
The only setting is the Allowed Journals list on a profile. Leave it empty and the profile restricts no journal. Administrators (users with Settings rights) and the superuser are never restricted, so the setup can always be corrected.
What it does not do
- It does not give per-journal read or write rights. A user sees the allowed journals with the access rights their accounting group already gives.
- It does not restrict journals of a company that has no allowed journal in the profile.
- It is not an accounting audit tool: it does not log who looked at what.
- Server code that runs as superuser, such as scheduled actions, is not restricted.
Requirements
Odoo 17, 18, 19 and 20, Community and Enterprise. It needs Invoicing and Access Restrictions per User (aerya_access_restrict), a separate module by Aerya. It has Python code, so it runs on Odoo.sh and on-premise, not on Odoo Online.
Questions
Is it only hiding menus?
No. Record rules limit the data itself, so imports, reports and the API follow.
Can one user have journals from two profiles?
Yes. The allowed journals of all the profiles add up.
Does it work with several companies?
Yes. Only the companies of the allowed journals are restricted.
Can I still correct a mistake in the setup?
Yes. Administrators are never restricted.
What happens if I uninstall it?
The journal restriction is lifted. The profiles and their other restrictions stay in the base module.
Explore our other apps
More modules by Aerya IT Solutions for Odoo 20, 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 |
•
Invoicing (account)
• Discuss (mail) |
| Community Apps Dependencies | Show |
| Lines of code | 755 |
| Technical Name |
aerya_access_restrict_account |
| 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