Odoo Help

0

0
4 Answers
2
Avatar

Hilar AK

--Hilar AK--
9133
| 6 6 11
Switzerland
--Hilar AK--
  Blog:-
        https://hilarlive.wordpress.com/
  StackOverflow:
        http://stackoverflow.com/users/7561347/burmese-pythis

Quora:
    

            https://www.quora.com/profile/Hilar-Ak-1

Experienced Odoo developer, Functional Consultant.



Hilar AK
16/05/19 00.35

Yes, this is possible. There is a column named latest connection in Users Table. So you need to compare the current date with the latest connection from the res_users table and do the needful. To achieve this you can write an automatic scheduler which will remove users with the satisfying condition by doing checks in days, or in particular intervals.

2 Comments
Yenthe Van Ginneken
16/05/19 08.31

This is actually a bit risky. The latest connection field is not updated every time you open Odoo so if you're logged into the Odoo instance and don't log out it might be off. But yes you can indeed do this with a scheduler.

Hilar AK
19/05/19 01.49

Yes, you are right. Thanks. They can achieve this also by adding the session logout mechanism with the current customization.

1
Kevin Kiy
22/05/19 03.34

Dear all,

thanks for your answers and your support!

Ask a Question
Writer
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

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

Test it now