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
    • Estate 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
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Physical Inventory Access Rights

Subscribe

Get notified when there's activity on this post

This question has been flagged
modelaccess rightsInventoryAdjustment
3 Replies
1841 Views
Avatar
National Co.

Hi


How to give a non-administrator user access to the physical inventory menu?


Can anyone tell me the "Access Rights name and model"?



Thanks

0
Avatar
Discard
Chris TRINGHAM

Which version of Odoo?

National Co.
Author

Hello Piyush

I can't find  ir.model.access, my database version is saas~18.2+e (Enterprise Edition)

If that's normal, how to create it if it doesn't exist?


For all the rest steps, I can do it.


Thanks



Chris TRINGHAM

In v18 inventory users should be able to access the Physical Inventory menu, but the Cybrosys answer should help you (but I don't think departments are a standard feature).

National Co.
Author

Hello Cybrosys


I have added the "Limited User" to stock.quant model as the picture, but still get "Access Error." 


Should I create a "Record rule" for the Limited User Group? If so, how do I creat this rule?


Thanks

image0


Chris TRINGHAM

What does the error message say? It might give you a clue.

You can read this to get more information: https://odootricks.tips/odoo-model-access/

National Co.
Author

Hello Chris

The user I need to grant permission to is not standard; it's custom (named Limited User), with specific menus and access rights.

Bellow the error message when I click Physical Inventory...



Thanks



Chris TRINGHAM

I see, so you have created a new user access group for the "Inventory / Limited User" which can do physical inventory but not some other things.

This is a complex area and from my own experience it needs a lot of checking and testing ("trial and error") and it's very difficult to diagnose the problem(s) from screenshots.

National Co.
Author

Hello Chris


Yes, it's a new user access group with specified access rights.


Do you mean this place?, If not, where to find it?

Thanks

Chris TRINGHAM

Yes, see my updated answer.

National Co.
Author

Hello Chris

Thank you very much for your help; it's worked like a charm after adding the "Limited User" to the menu Allowed Groups.


Avatar
Chris TRINGHAM
Best Answer

I think it may because this menu option calls a Server Action that is only available for Inventory / User

Go to menu items, find Physical Inventory and then click on the second part of the Action

Then you can change who is authorized:

0
Avatar
Discard
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Best Answer

Hi,

You can set access rights in a model by navigating to Settings → Technical → Database Structure → Models. First, you need to enable Developer Mode.

stock.quant is the model used for physical inventory. If you open the stock.quant model, you can see tabs such as Fields, Access Rights, Record Rules, Notes, and Views. You can set access rights under the Access Rights tab in the model



In this example:

-Internal Users can only read stock.quant records.

-Inventory Users can read, write, and create stock.quant records, but cannot delete them.

You can set read, write, create, and delete access rights for a model based on user groups


Record rule:

In Odoo, Record Rules define which records users can access within a model, based on filter conditions (domains) and user groups.

 


- Users can access only the stock quant records that belong to departments they are associated with.


Hope it helps.


0
Avatar
Discard
Avatar
Piyush H
Best Answer

To give a non-administrator user access to the physical inventory menu in Odoo, you need to adjust their access rights. Here's how you can do it, along with the relevant access rights name and model:

1. Access Rights and Model

  • Model: ir.model.access
  • You'll need to find or create an access right record that grants the necessary permissions for the "inventory.adjustment" model (which is used for physical inventories).

2. Steps to Grant Access

Activate Developer Mode:

  • First, activate Odoo's developer mode. Go to Settings and scroll down to the bottom of the page. Click "Activate the developer mode".

Navigate to Groups:

  • Go to Settings > Users & Companies > Groups.

Edit or Create a Group:

  • You can either modify an existing group or create a new one for your inventory users.
  • To create a new group, click "Create". Give it a descriptive name (e.g., "Inventory Counter").

Access Rights Tab:

  • In the group form, go to the "Access Rights" tab.
  • Click "Add a line".
  • In the "Model" field, search for and select "inventory.adjustment".
  • Enable the following options as appropriate:
    • Read: Allows the user to see existing physical inventory records.
    • Create: Allows the user to create new physical inventory records.
    • Write: Allows the user to edit existing physical inventory records.
    • Delete: Allows the user to delete physical inventory records (use caution with this one).

Assign Users to the Group:

  • Go to the "Users" tab on the group form.
  • Click "Add a line" and add the users who need access to physical inventories.

Important Considerations

  • Existing Groups: Carefully consider whether to modify existing groups. Adding users to powerful groups (like "Inventory / User") might grant them more access than you intend.
  • Minimum Necessary Access: Grant only the minimum access required for the user to perform their job.
  • Testing: Always test the new access rights to ensure they work as expected and don't grant unintended permissions.
  • Administrator Role: Only a user with "Access Rights" administration rights can modify access rights. Be careful when changing these settings, as incorrect settings can negatively impact your database. Odoo recommends contacting an Odoo Business Analyst or their Support Team before making changes to access rights.


🚀 Did This Solve Your Problem?

If this answer helped you save time, money, or frustration, consider:

✅ Upvoting (👍) to help others find it faster

✅ Marking as "Best Answer" if it resolved your issue

Your feedback keeps the Odoo community strong! 💪

(Need further customization? Drop a comment—I’m happy to refine the solution!)

-1
Avatar
Discard
Chris TRINGHAM

Do you really want feedback?

This answer is partially correct, but a lot of the advice is very misleading or just wrong and therefore unhelpful. So it won't save people time, and it will increase frustration.

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
Restrict product quantity adjustments for Inventory / Users ✅ SOLVED
inventory access rights InventoryAdjustment Quickstart
Avatar
Avatar
1
Mar 25
2827
How to override base model access rights in my custom module? Solved
security model override access rights
Avatar
Avatar
1
Apr 25
11854
Back Date Inventory adjustment excel import Solved
InventoryAdjustment
Avatar
Avatar
1
Jul 25
1459
Inventory Adjustment page is Blank | Would like to manually edit inventory numbers for initial count
InventoryAdjustment
Avatar
Avatar
Avatar
2
Jun 25
1792
Odoo Enterprise 16 Inventory Adjustment Set to ZERO Products in Locations Solved
InventoryAdjustment
Avatar
Avatar
Avatar
2
Dec 24
4700
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
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

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

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now