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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Bogføring
- Lager
- PoS
- Project
- MRP
Dette spørgsmål er blevet anmeldt
1
Svar
1158
Visninger
In odoo v16:
request.env['website.visitor']._get_visitor_from_request()
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Tilmeld digRelated Posts | Besvarelser | Visninger | Aktivitet | |
---|---|---|---|---|
|
2
aug. 25
|
608 | ||
|
5
aug. 25
|
10092 | ||
|
2
jul. 25
|
1097 | ||
|
4
jun. 25
|
1267 | ||
|
1
jun. 25
|
1584 |