Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
1137 Visualizzazioni

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
Abbandona
Risposta migliore

In odoo v16:

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


Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
ago 25
500
5
ago 25
9997
2
lug 25
1047
4
giu 25
1197
1
giu 25
1509