Skip to Content
Menú
This question has been flagged
1 Respondre
5737 Vistes

I am using odoo 12 .

Avatar
Descartar
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
Descartar