HI, HOw can i get the session Id of the website(new module for V8) user /or the name of the current user from the javascript file
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
2
Replies
9769
Tampilan
Hello Hachem,
It is possible to get session id, username and other session information with JS with the following code.
openerp.website.session.rpc("/web/session/get_session_info", {}).then(function(result) {console.log(result)});
Can I use this session info, to auto populate credentials to another url, where I wish to redirect user?
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
0
Jul 25
|
252 | ||
|
0
Jun 25
|
469 | ||
How to use multi label switching interface in Odoo
Diselesaikan
|
|
1
Jun 25
|
708 | |
|
1
Jun 25
|
732 | ||
|
1
Mei 25
|
1277 |
Same problem here.