Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Manufacturing
  3. LB Work Center Restriction v 18.0
  4. Sales Conditions FAQ

LB Work Center Restriction

by Lucidbrainz https://lucidbrainz.com/?i=1
Odoo

$ 369.33

v 18.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
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
Multiple Branch Unit Operation Setup for All Applications Odoo
Lines of code 2484
Technical Name lb_work_center_restriction
LicenseLGPL-3
Websitehttps://lucidbrainz.com/?i=1
You bought this module and need support? Click here!
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
Multiple Branch Unit Operation Setup for All Applications Odoo
Lines of code 2484
Technical Name lb_work_center_restriction
LicenseLGPL-3
Websitehttps://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_ids field 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

Work Center Form - New Fields
Work Center form view (Assembly 1) showing the two new fields added by the module: User (currently showing OdooBot as default) and Branch (empty, required field). These fields appear after the Alternative Workcenters section, highlighted with a red border. The form also displays standard stats buttons at the top: OEE 96%, Lost 3.00 Hours, Load 300.00 Minutes, and Performance 0%. The chatter on the right shows Work Center creation log by OdooBot.
Work Center Form - Branch and Alternative WC Assigned
Work Center form (Assembly 1) in edit mode showing fully configured module fields. The highlighted section (red border) displays: Alternative Workcenters — "Drill 1" tag assigned, User — "OdooBot", and Branch — "ABC". This demonstrates that each Work Center is now linked to a specific branch and user. The Branch field is required and auto-populates from the logged-in user's branch during record creation. Save/Discard buttons visible in the breadcrumb area.
User Form - Work Center Assignment Field
User form for "Marc Demo" (Settings → Users & Companies → Users) showing the Preferences tab. The module adds a new Work Center field (highlighted with red border) between "Allowed Branch" and "Branch" fields. Currently empty — when no Work Center is assigned, the user gets access to all Work Centers by default. The field uses a many2many_tags widget and filters Work Centers based on the user's assigned branches. Top breadcrumb shows smart buttons: Groups 31, Access Rights 659, Record Rules 132.
User Form - Work Centers Assigned to User
User form for "Marc Demo" in edit mode showing Work Center assignment in action. The Work Center field (highlighted with red border) now shows two assigned Work Centers: "sdsd" and "acb" as tags with remove (×) buttons. This means Marc Demo will only see these two Work Centers and their associated Work Orders throughout the Manufacturing module. The dropdown is filtered by the user's allowed branches ensuring only relevant Work Centers appear during selection.
Record Rules - Work Center Restriction Rules
Settings → Technical → Security → Record Rules — filtered by "Work Center" showing 3 rules created by the module. (1) Only show User Work Centers In Work Order — Model: Work Order, Group: Branch/..., Domain: [('workcenter_id', 'in', user.workcenter_ids.ids)]. (2) Work Center User Branch — Model: Work Center, Group: Branch/..., Domain: [('id', 'in', user.workcenter_ids.ids)]. (3) Work Center Manager Branch — Model: Work Center, Group: Branch/..., Domain: [(1,'=',1)] — full access for managers. All rules show Read, Write, Create, Delete permissions checked. Total: 1-3/3 records.
Record Rules - Work Order Restriction Rules
Settings → Technical → Security → Record Rules — filtered by "Work Order" showing 2 rules. (1) Only show User Work Centers In Work Order — Model: Work Order, Group: Branch/..., Domain: [('workcenter_id', 'in', user.workcenter_ids.ids)] — restricts Branch Users to only see Work Orders linked to their assigned Work Centers. (2) Work Order Branch — Model: Work Order, Group: Branch/..., Domain: [(1,'=',1)] — gives Branch Managers unrestricted access to all Work Orders. Total: 1-2/2 records. Both rules have full Read, Write, Create, Delete access rights checked.
Work Orders List - Branch User Restricted View
Manufacturing → Operations → Work Orders list view showing the restriction in action. The list displays 3 Work Orders (1-3/3) all belonging to "Assembly 1" Work Center — the only Work Center assigned to this Branch User. Work Orders visible: Manual Assembly (Desk Combination, Qty: 3, Status: Waiting for components), Assembly (Table, Qty: 1), and Manual Assembly (Table Top, Qty: 1, Status: Ready). A Branch Manager would see all Work Orders across all Work Centers. The restriction is completely transparent to the user — they simply see their relevant data.
Record Rule Detail - Work Order Restriction
Detailed view of the "Only show User Work Centers In Work Order" record rule (Settings → Technical → Security → Record Rules). GENERAL section shows: Name — "Only show User Work Centers In Work Order", Model — "Work Order", Active — toggled ON. ACCESS RIGHTS section shows all four permissions checked: Read ✓, Write ✓, Create ✓, Delete ✓. RULE DEFINITION (DOMAIN FILTER) shows the domain: [('workcenter_id', 'in', user.workcenter_ids.ids)]. GROUPS section shows this rule applies to "Branch / User" group. Bottom section explains the Interaction between rules with detailed algorithm notes.


VIEW OUR MORE APPS

Our Services

Odoo
Implementation

Odoo
Customization

Odoo
Migration

Support &
Maintenance



📞 Contact Us

WhatsApp:
+91 8686786108

Email:
lucidbrainzinfotech@gmail.com

Website:
www.lucidbrainz.com

🌐 Follow Us

📘 Facebook 📸 Instagram 💼 LinkedIn 🎥 YouTube

© 2025 LucidBrainz InfoTech | All Rights Reserved | License: LGPL-3

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with