Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1352 Vistas

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
Descartar
Mejor respuesta

In odoo v16:

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


Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
3
sept 25
2066
3
sept 25
148699
1
sept 25
1152
4
sept 25
5870
2
ago 25
1243