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:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
1
الرد
1351
أدوات العرض
In odoo v16:
request.env['website.visitor']._get_visitor_from_request()
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
3
سبتمبر 25
|
2059 | ||
Login Website
تم الحل
|
|
3
سبتمبر 25
|
148538 | |
|
1
سبتمبر 25
|
1146 | ||
Can't delete website
تم الحل
|
|
4
سبتمبر 25
|
5861 | |
|
2
أغسطس 25
|
1232 |