Skip to Content
Odoo Меню
  • Увійти
  • Спробуйте це безкоштовно
  • Додатки
    Фінанси
    • Бухоблік
    • Виставлення рахунку
    • Витрати
    • Електронні таблиці (BI)
    • Документи
    • Підпис
    Продажі
    • CRM
    • Продажі
    • POS Магазин
    • POS Ресторан
    • Підписки
    • Оренда
    Веб-сайти
    • Конструктор веб-сайту
    • Електронна комерція
    • Блог
    • Форум
    • Живий чат
    • Електронне навчання
    Ланцюг поставок
    • Склад
    • Виробництво
    • PLM
    • Купівлі
    • Технічне обслуговування
    • Якість
    Кадри
    • Співробітники
    • Рекрутинг
    • Відпустки
    • Оцінювання
    • Рекомендації
    • Автотранспорт
    Маркетинг
    • Маркетинг соцмереж
    • Email-маркетинг
    • SMS-маркетинг
    • Події
    • Автом. маркетингу
    • Опитування
    Послуги
    • Проект
    • Табелі
    • Виїзне обслуговування
    • Служба підтримки
    • Планування
    • Призначення
    Продуктивність
    • Обговорення
    • Схвалення
    • IoT
    • IP-телефонія
    • База знань
    • WhatsApp
    Сторонні модулі Odoo Studio Платформа Odoo Cloud
  • Сфери
    Роздрібна торгівля
    • Книжковий магазин
    • Магазин одягу
    • Магазин меблів
    • Продуктовий магазин
    • Магазин будівельних матеріалів
    • Магазин іграшок
    Food & Hospitality
    • Бар та паб
    • Ресторан
    • Фастфуд
    • Guest House
    • Дистриб'ютор напоїв
    • Hotel
    Нерухомість
    • Real Estate Agency
    • Архітектурна фірма
    • Будівництво
    • Управління нерухомістю
    • Садівництво
    • Асоціація власників нерухомості
    Консалтинг
    • Бухгалтерська компанія
    • Партнер Odoo
    • Агенція маркетингу
    • Юридична фірма
    • Придбання Талантів
    • Аудит та сертифікація
    Виробництво
    • Textile
    • Metal
    • Меблі
    • Їжа
    • Brewery
    • Корпоративні подарунки
    Здоров'я & Фітнес
    • Спортивний клуб
    • Оптика
    • Фітнес-центр
    • Практики здоров'я
    • Аптека
    • Салон краси
    Trades
    • Ремонтник
    • IT-обладнання та Підтримка
    • Системи сонячної енергії
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Інші
    • Nonprofit Organization
    • Екологічна агенція
    • Оренда білбордів
    • Фотографія
    • Лізинг велосипедів
    • Реселлер програмного забезпечення
    Browse all Industries
  • Спільнота
    Навчання
    • Навчальний посібник
    • Документація
    • Сертифікації
    • Тренування
    • Блог
    • Подкаст
    Сприяйте Освіті
    • Програма навчання
    • Бізнес гра Scale Up!
    • Відвідайте Odoo
    Отримайте програмне забезпечення
    • Завантаження
    • Порівняйте версії
    • Релізи
    Співпрацюйте
    • Github
    • Форум
    • Події
    • Переклади
    • Стати партнером
    • Services for Partners
    • Зареєструйте вашу бухгалтерську фірму
    Отримайте послуги
    • Знайдіть партнера
    • Знайдіть бухгалтера
    • Зустріньтеся з консультантом
    • Послуги з впровадження
    • Референси клієнтів
    • Підтримка
    • Оновлення
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Отримати демо
  • Ціни
  • Допомога

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

  • CRM
  • e-Commerce
  • Бухоблік
  • Склад
  • PoS
  • Проект
  • MRP
All apps
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
All Posts Люди Значки
Мітки (View all)
odoo accounting v14 pos v15
Про цей форум
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
All Posts Люди Значки
Мітки (View all)
odoo accounting v14 pos v15
Про цей форум
Допомога

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

Підписатися

Отримуйте сповіщення про активність щодо цієї публікації

Це запитання позначене
fieldsrightsOdoo 18
1 Відповісти
2603 Переглядів
Аватар
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
Аватар
Відмінити
Аватар
Yatrik Chauhan
Найкраща відповідь

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
Аватар
Відмінити
Anton
Автор

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
Автор

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
Автор

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
Автор

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
Автор

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!

Реєстрація
Related Posts Відповіді Переглядів Дія
I cannot see custom field in lead form
fields
Аватар
Аватар
Аватар
2
груд. 25
3645
trying to match fields for products
fields
Аватар
Аватар
Аватар
2
груд. 25
228
How to Delete a Stale Project Folder?
Odoo 18
Аватар
Аватар
2
жовт. 25
960
Custom code: Value is empty in the list view when it is equal to 0
Odoo 18
Аватар
Аватар
1
черв. 25
2023
Help using Cloudflare as CDN for Odoo SaaS Вирішено
Odoo 18
Аватар
Аватар
1
черв. 25
3989
Спільнота
  • Навчальний посібник
  • Документація
  • Форум
Open Source
  • Завантаження
  • Github
  • Runbot
  • Переклади
Послуги
  • Хостинг Odoo.sh
  • Підтримка
  • Оновлення
  • Кастомні доробки
  • Навчання
  • Знайдіть бухгалтера
  • Знайдіть партнера
  • Стати партнером
Про нас
  • Наша компанія
  • Торгові активи
  • Зв'яжіться з нами
  • Вакансії
  • Події
  • Подкаст
  • Блог
  • Клієнти
  • Юридичні документи • Конфіденційність
  • Безпека
الْعَرَبيّة 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 - це набір програм для роботи з відкритим кодом, які охоплюють всі ваші потреби компанії: CRM, електронна комерція, бухгалтерський облік, склад, точка продажу, управління проектами тощо.

Унікальна пропозиція Odoo - це одночасно дуже проста у використанні та повністю інтегрована.

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