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č

Odoo 11 - Prevent timesheet users from seeing All Timesheets

Naroči se

Get notified when there's activity on this post

This question has been flagged
usersmanagertimesheetrecordtimesheets
1 Odgovori
5222 Prikazi
Avatar
Adam Abraham Rumjahn

 I need some help with Odoo V11. I want to prevent timesheet users from seeing All Timesheets. Only managers should be able to see All Timesheets, but somehow users can also see All Timesheets.


Which record rule and domain should be added/modified?

0
Avatar
Opusti
Avatar
Paresh Wagh
Best Answer

Hi Adam:

Modify the account.analytic.line.timesheet.user record rule and enable Apply for Read in addition to the access rights that are already selected. 

NOTE: Billing Users/Managers will still be able to see all timesheets.


1
Avatar
Opusti
Adam Abraham Rumjahn
Avtor

Thanks Paresh. This worked for hiding the All Timesheets of other users, however, when I now log on from a Timesheet Manager account, I cannot see the timesheets of other users.

I fixed this by going to the Timesheets Users group and removed the account from there, and made sure that the user account is ONLY in the Timesheets Manager group. I wonder why Odoo did not perform this task when the account specified Manager?

Anyway, thanks a lot for your help.

Adam Abraham Rumjahn
Avtor

Paresh, I'm trying to understand the Apply for Read Access Rights that I applied and the logic doesn't seem to make sense. The suggestion that you made works! but I'm just trying to understand why enabling Apply for Read caused this behaviour. It seems like Apply for Read should allow for users to read their own timesheets, but it was unchecked before and you could see all users timesheets. Why did applying this disable that? it seems backwards.

Paresh Wagh

"Apply for <operation>" means the condition specified in the record rule should be applied when that particular "operation" is performed on the model. Since the "Apply for Read" checkbox was disabled in the default setting, the record rule was not being applied on "Read" operations on the model which was causing all timesheets to be visible. Enabling it, makes Odoo apply the condition specified in the record rule on Read operations on the model.

Adam Abraham Rumjahn
Avtor
Hi Paresh, I have another behaviour related to this that I'm wondering how to correct.  When I create a new user, if they are first added as a Timesheet User, they get added to the group Timesheet User.  Later if they are changed to Timesheet Manager, they stay in both groups which causes conflicts with the permissions.  How can I fix this? I notice that it doesn't happen with other groups so it's either a bug or I broke something with my changes that I implemented last time.

On Sun, Jun 21, 2020 at 4:48 PM Paresh Wagh <pawa2007@outlook.com> wrote:

"Apply for <operation>" means the condition specified in the record rule should be applied when that particular "operation" is performed on the model. Since the "Apply for Read" checkbox was disabled in the default setting, the record rule was not being applied on "Read" operations on the model which was causing all timesheets to be visible. Enabling it, makes Odoo apply the condition specified in the record rule on Read operations on the model.

Sent by Odoo S.A. using Odoo.

Paresh Wagh

Timesheet Manager has all the rights of the Timesheet User plus more. That's why when you add someone to the manager group they are automatically added to the user group. Do you have no an example of what you are trying to do?

Adam Abraham Rumjahn
Avtor
Yes, I understand that, but when I add them to the Manager group, they remain in the User group, and this creates a conflict as they no longer can view ALL timesheets any more.  I then have to remove them from the Users group, while keeping them in the Manager group, so that they can effectively see ALL timesheets.  

I assumed that when you switch from User to Manager groups, it would automatically remove you from the previous group.  But it Odoo doesn't do this.  Any reason why? and is there a remedy for this?

--

Adam Rumjahn

Operations Manager - EMEA


Twente Additive Manufacturing B.V.

Talmaplein 16

Enschede 7523ZA

The Netherlands

phone: +49 304 6403 8403 

mobile: +49 176 6701 6284

email: adam@twente-am.com

web: www.twente-am.com


Temporary Address:

c/o Procter Water Utility

8690 Procter East Road.

Procter, British Columbia

CANADA - V0G 1V0


Mailtrack Sender notified by
Mailtrack 21/09/20, 19:01:32

On Mon, Sep 21, 2020 at 6:59 PM Paresh Wagh <pawa2007@outlook.com> wrote:

Timesheet Manager has all the rights of the Timesheet User plus more. That's why when you add someone to the manager group they are automatically added to the user group. Do you have no an example of what you are trying to do?

Sent by Odoo S.A. using Odoo.

Paresh Wagh

Odoo uses a layered mechanism for managing security. For example, in the case of timesheets, the Timesheet User group is assigned the basic rights to do timesheet entry. The Timesheet Manager inherits these rights (take a look at the "Inherited" tab in the Timesheet Manager security group) and provides more rights in addition to the ones provided by the Timesheet User group. All the security groups in Odoo are assigned this way.

Hope this helps.

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
Is it possible to lock the timesheet period ? Solved
timesheet timesheets
Avatar
Avatar
Avatar
5
jun. 17
5856
employees to self-fill timesheet?
timesheet timesheets employees
Avatar
Avatar
1
maj 23
2948
Several timesheets
timesheet timesheets overlap
Avatar
0
feb. 23
1961
Can I modify confirmed timesheets as a manager?
modification manager timesheet confirmation modify timesheets confirmed
Avatar
Avatar
2
mar. 15
7749
Display activities by projet and highest level tasks
timesheet projects groupby timesheets
Avatar
0
dec. 23
2051
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