Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
1357 Prikazi

I see that in the website module each visitor has their own IDs. Can we obtain that id from the request using things like  request.env['website.visitor']?
Thanks in advanced

Avatar
Opusti
Best Answer

In odoo v16:

request.env['website.visitor']._get_visitor_from_request()


Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
3
sep. 25
2074
3
sep. 25
148888
1
sep. 25
1160
4
sep. 25
5883
2
avg. 25
1251