Go to file
2026-01-23 16:05:50 +07:00
models first commit 2026-01-23 16:05:50 +07:00
security first commit 2026-01-23 16:05:50 +07:00
views first commit 2026-01-23 16:05:50 +07:00
__init__.py first commit 2026-01-23 16:05:50 +07:00
__manifest__.py first commit 2026-01-23 16:05:50 +07:00
.gitignore first commit 2026-01-23 16:05:50 +07:00
README.md first commit 2026-01-23 16:05:50 +07:00

Account Allowed Journal

Summary

This module allows restricting users to specific journals in Odoo's Accounting application.

Features

  • adds a new field "Allowed Journals" to the User form view.
  • Access Control:
    • If "Allowed Journals" is empty, the user has access to ALL journals (standard behavior).
    • If "Allowed Journals" is populated, the user can ONLY access the selected journals.
  • Implements a global Record Rule to enforce this restriction across the system (Views, Search, Create, Write).

Configuration

  1. Go to Settings > Users & Companies > Users.
  2. Open the user you want to restrict.
  3. Go to the Allowed Journals tab.
  4. Add the journals the user is allowed to access.
  5. Save.

License

LGPL-3