Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
4 Vastaukset
3399 Näkymät

Dear all,

I am currently implementing an odoo solution for multiple users.

In this context I am wondering if there is any solution which automatically removes users if their latest connection to the system is more that 8 weeks ago. This will help me to better manage my licenses and avoid using licenses for user which do not use the system regularly. 

Thanks for your help :) Kevin

Avatar
Hylkää
Paras vastaus

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.

Avatar
Hylkää

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.

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

Tekijä Paras vastaus

Dear all,

thanks for your answers and your support!

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
huhtik. 24
1672
0
marrask. 22
1913
1
marrask. 24
2410
3
toukok. 22
3661
1
marrask. 21
2693