Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Artificial Intelligence
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Property Management
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    • Referral Program
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

Activity Access Rights - Odoo 12.0+e (Enterprise Edition)

Odoberať

Get notified when there's activity on this post

This question has been flagged
access rights
3 Replies
8929 Zobrazenia
Avatar
Alexander Christen

I'm trying to restrict the view for employees of Activities scheduled for their manager.

Reason:

The reason for this is mainly based around appraisals. Once an appraisal is sent out two activities are scheduled, one for the employee one for the manager. In this activity the link to the survey for both Manager & Employee is accessible, meaning an employee can fill out the managers for and set the activity to done.

My Solution:

When trying to limit the access rights of employees to only their own activities I have Changed the Record rule mail.activity(this is the [('user_id', '=', user.id)]): user to apply to read (previously only Apply for Write & Apply for Delete).
 

this seems to work in terms of view however seems to "break" other applications - for example Leaves.

As new activities are created for the manager when a leave request is made this seems to block the utility of Leaves and any other application that generates activities for the employee manager. Example below:
"The requested operation cannot be completed due to security restrictions. Please contact your system administrator.

(Document type: mail.activity, Operation: read) "
Does anyone have any idea how I could solve this problem? ANY HELP would be much appreciated! - Or a different way to go about it - I want activities to be visible only to the person to which it is attributed, or delete the activities created within appraisal.

Thank you! (wanted to include screenshots but doesn't seem to work unfortunately)

1
Avatar
Zrušiť
Avatar
Alexander Christen
Autor Best Answer

Hi Pinakin

That is exactly what I did!

However as the read action is needed for validating a leave (or any action that creates an activity for your manager) this solution doesn't work :( as it indirectly blocks other applications.

 

0
Avatar
Zrušiť
Avatar
Pinakin Nayi (pna)
Best Answer

There is already record rule for activity where you can restrict the read access, so user can not see other person's activities. Also he can create for another person but can't see if he has not created that activity.


0
Avatar
Zrušiť
Avatar
Chris TRINGHAM
Best Answer

Can you use a tag on the activity (for appraisals) and then have a separate record rule that only applies to activities with that tag (or add a field for the same purpose)?

0
Avatar
Zrušiť
Enjoying the discussion? Don't just read, join in!

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

Registrácia
Related Posts Replies Zobrazenia Aktivita
Assign view to specific group
access rights
Avatar
Avatar
1
okt 19
6872
How prevent user with "Access Rights" group to create user with "Settings" group? Solved
access rights Odoo12.0
Avatar
Avatar
Avatar
Avatar
Avatar
5
okt 25
18139
How to Restrict/Hide Menu Items for a Specific User Group Solved
accounting access rights
Avatar
Avatar
Avatar
3
mar 26
2812
What is the difference between "Settings" and "Access Rights" ?? Solved
settings access rights
Avatar
Avatar
Avatar
Avatar
3
sep 25
7850
[Odoo 18 - Community Version] Access Rights: How to Set Up User Roles and Permissions?
access rights odoo18
Avatar
Avatar
Avatar
2
sep 25
11174
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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