Odoo Help

6
2
Avatar

Ray Carnes

--Ray Carnes--
20332
| 9 7 9
Keyport, United States
--Ray Carnes--

Senior ERP Analyst

OpenERP 6.1, 7.0; Odoo 8.0, 9.0, 10.0 and 11.0.

Completed Odoo Functional and Technical Training.

Functional Areas:

  • CRM/Sales

  • Inventory

  • Manufacturing

  • Accounting

  • Purchasing

Major Skills:

  • Business Process Reengineering

  • Efficiency Consulting

  • User Needs and GAP Analysis;

  • Functional and Technical Design;

  • Prototyping and Proof of Concepts;

  • Requirements Specifications;

  • Agile Implementation;

  • Data Migration;

  • Configuration & Customization (UI and code);

  • Integration - Odoo and non Odoo Applications and Services;

  • Training and Knowledge Transfer;

  • Go Live Support;

  • Helpdesk;

  • Version Upgrades and Migration.

  • Accounting Expert.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

I am a skilled Communicator and I only take the serious things seriously!

Ray Carnes
On 5/6/13, 3:47 PM

OpenERP is essentially stateless. Every request made from the web client is logging a user in. Every user can have the web client open (and open in many browsers, in many tabs and even on many machines), but there is no load on the system if they are not doing anything. If they spend 5% of their time clicking/typing and 95% of their time reading, there is a very low server load.

So you can't get the users who are logged in, only those who have recently connected. At version 7.0 this is even harder unless you log connections because the table res_users (model res.user) that stores the last connection date for each user now stores only the day, not the time (like it did at 6.1).

What do you want to know the users who have recently logged in for? To check that you can reboot the system? To model/manage server load? Perhaps other readers of your question may have some ideas if you explain the need behind your question.

".. stores only the day, not the time .." eww yuck, that's a backwards step.

Ian Beardslee
on 5/6/13, 10:50 PM

Yes, I just need to know wheather I can reboot the system or not.

TestUser
on 5/7/13, 3:21 AM

I just wanted to know exact timing on which he/she/user logged in into Open ERP System without attendance Module.

Vaibhav
on 8/5/13, 5:03 AM
1
Avatar

Gustavo

--Gustavo--
1000
| 2 2 4
Buenos Aires, Argentina
--Gustavo--

Python developer, big fan of sailing

Gustavo
On 5/6/13, 5:02 PM

There is no way to know the active users in OpenERP. But if you want to see if there is an openerp user active in the database, you can run this query from psql:

SELECT datname,usename,procpid,client_addr,waiting,query_start,current_query FROM pg_stat_activity WHERE datname = <name of="" your="" openerp="" database=""> AND usename = <username running="" openerp,="" ussually="" it="" is="" openerp="">;

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)

Stats

Asked: 5/6/13, 9:33 AM
Seen: 10334 times
Last updated: 2/25/18, 2:25 AM