account_allowed_journal/README.md
2026-01-23 16:05:50 +07:00

22 lines
773 B
Markdown

# 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