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

How can i give only one user a read permission in specific field without giving the whole model?

Subscribe

Get notified when there's activity on this post

This question has been flagged
fieldsrightsOdoo 18
1 Reply
2591 Views
Avatar
Anton

There's only one user that actually needs some read permission on fields. Now, without giving him the whole view or model of the module.


Like this one. We need to add the user to the 'Employees / Officer: Manage all employees' group to access that specific field. So, adding the user to that group got all the access on other HR modules.

0
Avatar
Discard
Avatar
Yatrik Chauhan
Best Answer

Hello Anton,

To grant a user read access to the hr.employee model, follow these steps:

  1. Create a new user group, such as Only Employee Access.
  2. Assign read permissions for the hr.employee model to this group.
  3. Add the specific user to this group.

Steps to Configure Read Access:

  • Navigate to Settings > Technical > Models.
  • Search for hr.employee and open its form view.
  • Go to the Access Rights tab.
  • Define the newly created group and grant it read access.

Now, any user assigned to this group will have read-only access to the hr.employee model. 
This method ensures that the user receives read access only to the hr.employee model without gaining access to other parts of the HR module.

Thanks
Yatrik Chauhan

0
Avatar
Discard
Anton
Author

Here's the steps I followed from you.

-Goes to Settings > Technical > Models.
-Searched for hr.employee, hit enter, and opened
-Goes to Access Right tab.
-Added the group where the user added.
-Ticked read, write, and create.

But still it didn't work. Still getting the error in my post.

Yatrik Chauhan

Have you created a group in `res.groups`?

To create a group:
1. Go to **Settings > Users & Companies > Groups**.
2. Click Create and name the group "Only Employee Access".

Then, assign this group in the access rights and apply it to the specific user.

Have you tried this too?

Anton
Author

Yes. The user is already in group with res.group external identifier.

Yatrik Chauhan

Hello Anton,

I tried to replicate the issue you're facing, but in my case, it seems that assigning the "'Employees / Officer: Manage all employees'" group to the user isn't necessary to access *hr.employee*. Odoo already provides read access to internal users through the *hr.employee.public* model.

If you could share a screenshot or a video of the problem, it would help us understand the issue more clearly.

Thanks!

Anton
Author

Here's the video, sir: https://1drv.ms/v/c/d2f676abf9fef047/EZCWU3qHShRBrIaao2qJyb4BsUDcKILXxLlB73fRC_tHyw?e=Z9h4zW

Yatrik Chauhan

Hello,

Are users able to open any contacts, or are they encountering the same error?
- If the same error appears, it could be related to **Employee** access rights.
- If no error pops up for other contacts, the issue might be from the **code side**, possibly due to a customized module.

Thanks!

Anton
Author

All the users can access contacts, and we are using Odoo Online. So, customization is impossible.

Yatrik Chauhan

Hello,
Please log in to your database using the admin account and follow these steps:
1. Go to Settings > Users.
2. Click on the username where you're encountering the error [in your video user name is Chique Montesa].
3. At the top, you'll see two important smart buttons: "Access Rights" and "Record Rules".

- First, click on "Access Rights", search for "hr.employee", and share a screenshot or video.
- Then, click on "Record Rules", search for "hr.employee", and share that screenshot as well.
This will help me better understand how the access rights have been configured.

Thanks!

Anton
Author

I also tried duplicating 'Employees / Officer: Manage all employees' and inheriting the group.

Still getting errors.

Here's the link tho: https://1drv.ms/v/c/d2f676abf9fef047/EfOgg7NIxSVOrOdXV62Jwz4BgJNKeTKN7I4GoMtzFKUYjQ?e=8CVgGu

Yatrik Chauhan

Hello Anton,
I watched your video and didn’t notice any issues with the access rights. You can connect with me on Skype so I can take a closer look and identify the exact problem.
Here’s my Skype ID: live:yatrikc360_1
Thanks!

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
I cannot see custom field in lead form
fields
Avatar
Avatar
Avatar
2
Dec 25
3635
trying to match fields for products
fields
Avatar
Avatar
Avatar
2
Dec 25
221
How to Delete a Stale Project Folder?
Odoo 18
Avatar
Avatar
2
Oct 25
955
Custom code: Value is empty in the list view when it is equal to 0
Odoo 18
Avatar
Avatar
1
Jun 25
2022
Help using Cloudflare as CDN for Odoo SaaS Solved
Odoo 18
Avatar
Avatar
1
Jun 25
3982
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