跳至內容
選單
此問題已被標幟
4 回覆
5684 瀏覽次數

Greetings, Odoo Community,

I am an administrator for an Odoo 16 Community Edition platform managing a significant user base spread countrywide, totaling over 2,000 users. To enhance our system management and user tracking, I am seeking an efficient method to identify currently logged-in and active users within our system.

Could anyone guide me on how to obtain a real-time list of users who are currently logged in? Additionally, I am interested in distinguishing which of these users are actively engaging with the system.

Any insights, methodologies, or module recommendations that could assist in achieving this functionality would be greatly appreciated.

Thank you in anticipation for your help and shared expertise!


頭像
捨棄
最佳答案

Hello Mestoof,

In the standard Odoo setup, you can view the latest authentication information, including the last login date and time of users.
However, if you wish to monitor the current users actively logged into the system and determine their current usage status, you'll need to develop this functionality separately.
If you need any help, do not hesitate to reach out to us.

Thanks,
info@creyox.com

頭像
捨棄
作者

Hello,
were can I view the latest authentication information, including the last login date and time of users.
Thank you

Hello,

You can see latest authentication information inside the users list view.

Thanks

最佳答案

Hi,

To check Users have been active or not, we examine the information to display their status in Conversations. This way, other users can determine if individuals are 'online,' 'offline,' or 'out of the office' (if the Time Off app is installed).


Hope it helps

頭像
捨棄
作者

Hello, thanks for your reply.
I don't understand what I should do to get the list of of the online users
I want to create a new model to show all online users

最佳答案

Hello mestoof! Here's how you can approach identifying logged-in users in Odoo 16 CE.



  Odoo CE doesn't natively offer a direct real-time list of logged-in users due to its architecture focusing on session management rather than persistent user tracking.

  Check Session Data: You can inspect the ir.sessions model (if accessible in CE) via technical settings. This might give you some insight into active sessions, though it's not a straightforward list of logged-in users.

  Custom Module: Consider developing a custom module that tracks user activity. This module could listen to Odoo events (like user login/logout, or specific actions) and maintain a list of active users. This would require Python coding and Odoo development knowledge.

  Odoo Studio (If Available): If you have access to Odoo Studio, you might be able to create a simplified view based on session data, but its capabilities are limited without custom code.

  Review Logs: Examine Odoo server logs for login and logout events. While not real-time, this can provide historical data on user activity. 

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
10月 18
5010
1
5月 25
1559
Portal Users 已解決
1
4月 25
1267
0
2月 22
3598
2
1月 22
3801