i'm building an authentication system using Odoo 15, what' the model to set and get a user session ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
Try if This Could Help You
To set a user session, you can use the ir.http.session_info method. This method takes a user id as an argument and sets the user's session information in the request.session object.
To get a user's session information, you can use the request.session object. This object contains the user's session data, such as the user's id, login, and language.
Let me Know if you need Anything else
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل