Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
1138 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
2
avg. 25
504
5
avg. 25
10000
2
jul. 25
1050
4
jun. 25
1200
1
jun. 25
1512