Odoo
Implementation
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Manufacturing (mrp)
• Inventory (stock) • Discuss (mail) • Invoicing (account) • Purchase (purchase) • Sales (sale_management) |
| Community Apps Dependencies | Show |
| Lines of code | 2484 |
| Technical Name |
lb_work_center_restriction |
| License | LGPL-3 |
| Website | https://lucidbrainz.com/?i=1 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Manufacturing (mrp)
• Inventory (stock) • Discuss (mail) • Invoicing (account) • Purchase (purchase) • Sales (sale_management) |
| Community Apps Dependencies | Show |
| Lines of code | 2484 |
| Technical Name |
lb_work_center_restriction |
| License | LGPL-3 |
| Website | https://lucidbrainz.com/?i=1 |
LB Work Center Access Control for Odoo 18
Branch-wise Work Center Restriction | User-level Access Control | Smart Record Rules
Overview
LB Work Center Access Control by LucidBrainz is a powerful manufacturing security module for Odoo 18. This module enables businesses to restrict Work Center and Work Order visibility based on Branch and User assignment. Branch Users can only see and interact with their specifically assigned Work Centers, while Branch Managers retain full access to all Work Centers and Work Orders across the organization. The module uses Odoo's built-in Record Rules engine combined with computed field storage to deliver seamless, real-time access control with zero performance overhead. Perfect for multi-branch manufacturing companies, factories with multiple production lines, and any organization requiring granular control over manufacturing operations!
Key Features
- Branch-wise Work Center Restriction: Restrict Work Center visibility per branch. Each Work Center is linked to a specific branch. Branch Users see only the Work Centers belonging to their assigned branch. Automatic branch detection from the logged-in user context.
- User-level Work Center Assignment: Assign specific Work Centers to individual users directly from the User form. Many2many field allows multiple Work Centers per user. Branch-filtered selection ensures only relevant Work Centers appear in the dropdown. If no Work Center is assigned, user gets access to all Work Centers by default.
- Dual-level Access Control: Two-tier security model for maximum flexibility. Branch User group: sees only assigned Work Centers and their Work Orders. Branch Manager group: unrestricted access to all Work Centers and Work Orders across all branches. Clean separation of roles with no configuration overlap.
- Smart Record Rules Engine: Four intelligent record rules power the restriction system. Work Order restriction for Branch Users based on assigned Work Centers. Work Order full access for Branch Managers. Work Center restriction for Branch Users. Work Center full access for Branch Managers. Rules use domain filters evaluated in real time.
-
Stored Computed Field for Performance: The
workcenter_idsfield is a stored computed field that auto-calculates based on the user's assigned Work Centers. Stored in the database for fast security rule evaluation. Automatically recomputed whenever Work Center assignments change. Eliminates real-time computation overhead in security checks. - Automatic Cache Refresh on Changes: Record rule cache is automatically cleared whenever a user's Work Center assignment is updated. Ensures security changes take effect immediately without server restart. Handles both user creation and update scenarios. Prevents stale cache from serving outdated access rules.
- Work Center Form Enhancement: New User and Branch fields added to the Work Center form view. User field defaults to the currently logged-in user for easy setup. Branch field is required, ensuring every Work Center is properly categorized. Branch auto-populated from user context or logged-in user's branch during record creation.
- Seamless Integration with Branch Module: Built on top of the existing Branch module infrastructure. Uses Branch User and Branch Manager groups for access control. Work Center domain filter in User form respects branch boundaries. No duplicate configuration required — leverages existing branch setup.
- Zero-friction Work Order Filtering: When a Branch User opens Work Orders, only Work Orders linked to their allowed Work Centers are displayed. Filtering is transparent — users simply see their relevant data without any manual search. Managers see all Work Orders across all branches without restrictions. Works seamlessly with all existing Work Order views (list, kanban, calendar).
- Lightweight & Non-invasive: Minimal footprint with only 2 model extensions (mrp.workcenter and res.users). No new menus or views added — extends existing Odoo forms. No impact on existing manufacturing workflows or processes. Easy to install, configure, and maintain. Compatible with all standard Odoo Manufacturing features.
Odoo 18 Module Screenshots
Our Services
Odoo
Customization
Odoo
Migration
Support &
Maintenance
📞 Contact Us
WhatsApp:
Email:
Website: |
🌐 Follow Us📘 Facebook 📸 Instagram 💼 LinkedIn 🎥 YouTube |
© 2025 LucidBrainz InfoTech | All Rights Reserved | License: LGPL-3
Please log in to comment on this module