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
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
1
Reply
1107
Views
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!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Aug 25
|
128 | ||
|
5
Aug 25
|
9886 | ||
Carrusel en sitios web
Solved
|
|
2
Jul 25
|
1002 | |
How to launch my website
Solved
|
|
4
Jun 25
|
1133 | |
|
1
Jun 25
|
1448 |