Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1210 Zobrazení

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
Zrušit
Nejlepší odpověď

In odoo v16:

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


Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
zář 25
393
5
srp 25
4965
2
srp 25
1615
2
srp 25
809
5
srp 25
10249