Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

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

Naroči se

Get notified when there's activity on this post

This question has been flagged
fieldsrightsOdoo 18
1 Odgovori
2592 Prikazi
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
Opusti
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
Opusti
Anton
Avtor

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
Avtor

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
Avtor

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
Avtor

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
Avtor

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!

Prijavi
Related Posts Odgovori Prikazi Aktivnost
I cannot see custom field in lead form
fields
Avatar
Avatar
Avatar
2
dec. 25
3642
trying to match fields for products
fields
Avatar
Avatar
Avatar
2
dec. 25
222
How to Delete a Stale Project Folder?
Odoo 18
Avatar
Avatar
2
okt. 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
3983
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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