Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
3373 มุมมอง

I want to setup a user's session logout after some time in the Odoo16 production server did anyone know please guide me.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

It is not merged now for V16 but the Pull request is already created for "auth_session_timeout".

This will cover your needs as soon as it is available in OCA repo.

You should also be able to adapt the "http.py" of odoo to your needs.

There are also some modules available in the App store... Just look for "session timeout" or "User Login Security". You can check if one of those is sufficient for you.

Hope this helps


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

in odoo.conf

session_timeout = 3600000000

work for me

อวตาร
ละทิ้ง
ผู้เขียน

it is set for a second?

ผู้เขียน

It does not work on Server
is there any other way for odoo16?