Skip to Content
Menu
This question has been flagged
1 Reply
5058 Views

I am using odoo 12 .

Avatar
Discard
Best Answer

Hello Gouranga,

You can achieve using iterate loop:

In Python Controller:

for key,value in request.session.items():
    print("----------->", key,value)

In Qweb: https://is.gd/kbxsMG

In for loop, you will get key and value. You can get any value based on key.

Hope it will helpful for you.

Thanks and regards

Haresh Kansara

Avatar
Discard