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

Allow employees to see their own attendances

Subscribe

Get notified when there's activity on this post

This question has been flagged
hrattendance
6 Replies
18385 Views
Avatar
Alberte Moço

I am using Odoo 11.

Currently employees within the "Manual Attendance" group can only check in and out, but they cannot get any kind of report of their own attendance history. I could not find a way to enable it.

Can it be configured anywhere? Or should I write a module?

0
Avatar
Discard
Avatar
Niyas Raphy (Walnut Software Solutions)
Best Answer

Hi,
To view the attendance of their own  for the employees, first what we have to do is that, make the menu Attendance under the Manage attendance menu should be visible for the employees.


To make this menu visible for the employee,  activate the developer mode and navigate to Settings -> Technical -> User Interface -> Menu items,

then search the menu named Manage attendance and its sub menu Attendance , Open the record and add the group employee in the access right page. Do the process for the both the menu's.


Once for the both menus the group employee is added , then the users can see the menu named Attendance.


Now the problem is that the employees can see the attendance of other employees too. So we have to restrict it. For restricting it, we have to add a record rule to overcome it.


Navigate to Settings -> Technical -> Security -> Record Rules, then create a new rule.

Select the object as Attendance, in the group section add group employees into it.

Then in the rule definition add this line,

['|',('employee_id.user_id','=',user.id),('employee_id.user_id','=',False)]


Thanks


2
Avatar
Discard
Luis Guzmán

AFAIK Manual Attendance includes create and write access rights, so by adding a the menu, would employees be able to edit the records whenever they want, right?

That may be an issue to keep a trusted record. That said, it is a great tip, thanks for sharing.

Niyas Raphy (Walnut Software Solutions)

Right now itself , that system not trusted, as the employee can access the system from anywhere and put the attendance as per his need.

Avatar
CinePostproduction GmbH
Best Answer

Thank you very much, that helped me a lot and works like a charm.

0
Avatar
Discard
Avatar
Saimon
Best Answer

it's work but when i use server action there have another problem in attendance form view, id change and press it should not work but it work. This id is another employee attendance id.

How to fixed in odoo v12





0
Avatar
Discard
Avatar
aakasha
Best Answer

hii niyas raphy
i just create a new record rule with that and assign groups to it.


['|',('employee_id.user_id','=',user.id),('employee_id.user_id','=',False)]

by applying that rule he can see his own attendance only.thats great

bt i need, 

i have 2 company with there employees,suppose user1 is under company1 and company1 have one adminA other than super admin.

when admin1 logged in they also want to see the attendance of employee1(both the employee1,admin1 want to see employee1 attendance) bt now only employee1 can see his attendance,what changes are need to get this answer.

0
Avatar
Discard
Avatar
HLX Studios
Best Answer

Turns out there is a very easy way to do it.  Using an admin account click Attendances >> Employees >> Pick an Employee >> Attendance.  Now you should see a list of attendances.  Copy that URL.  It will look something like this though the domain & user id will be different:  http://yoursite.com/web#view_type=list&model=hr.attendance&action=439&active_id=000


Now, log out and log in as that user that you've picked.  Even without additional credentials, you will be able to see all of the attendances.  That user (if they are not an officer or an admin) will not be able to see the attendances of other users.


 

0
Avatar
Discard
Avatar
Pinakin Nayi (pna)
Best Answer

Probably no need some additional access rights, user can see own attendances from employee form. User open their own employee form and where from stat button 'Attendances' he/she can see their own all attendances.


0
Avatar
Discard
Niyas Raphy (Walnut Software Solutions)

Hi,

So for the users having the group manual attendance and employee can see their own attendance ? I think for that the user must have the group officer in attendance

Pinakin Nayi (pna)

Opps... You are right... I am not expecting this... At least user with "Manual Attendances" can see own attendances...

Niyas Raphy (Walnut Software Solutions)

Yes, a little improvement that Odoo can make :)

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
Connect fingerprint devices to Odoo Solved
hr attendance
Avatar
Avatar
1
May 25
2095
odoo13: Button with function of capture image Solved
hr attendance
Avatar
Avatar
2
Dec 22
5770
attendance link not coming on the above header
hr attendance
Avatar
0
Dec 17
4414
how to track Attendance (overtime worked, hrs owed to the company)?
hr attendance
Avatar
Avatar
6
Jun 17
11849
Openerp 7 Attendance Sign in & Sign up Problem
hr attendance
Avatar
1
Mar 15
5178
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