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

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

Subscribe

Get notified when there's activity on this post

This question has been flagged
access rights
3 Replies
7505 Views
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
Discard
Avatar
Alexander Christen
Author 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
Discard
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
Discard
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
Discard
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
Assign view to specific group
access rights
Avatar
Avatar
1
Oct 19
5757
How prevent user with "Access Rights" group to create user with "Settings" group? Solved
access rights Odoo12.0
Avatar
Avatar
Avatar
Avatar
Avatar
5
Oct 25
16551
How to Restrict/Hide Menu Items for a Specific User Group
accounting access rights
Avatar
Avatar
Avatar
3
Sep 25
981
What is the difference between "Settings" and "Access Rights" ?? Solved
settings access rights
Avatar
Avatar
Avatar
Avatar
3
Sep 25
6167
[Odoo 18 - Community Version] Access Rights: How to Set Up User Roles and Permissions?
access rights odoo18
Avatar
Avatar
Avatar
2
Sep 25
7011
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