I'm developing an odoo15 module using the community version and I need to get the current geo location of the logged in user
does anyone have an idea of how can I do something like that? how can I get the current geo location of a user once he login
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I'm developing an odoo15 module using the community version and I need to get the current geo location of the logged in user
does anyone have an idea of how can I do something like that? how can I get the current geo location of a user once he login
Hello!
Odoo 15.0 has internal functionality to get users' geolocation. It can be taken from "request":
request.session['geoip']
The detailed answer there: https://www.odoo.com/documentation/15.0/applications/websites/website/publish/on-premise_geo-ip-installation.html
Yurii Razumovskiy
Company Garazd Creation
https://garazd.biz
| 相关帖文 | 回复 | 查看 | 活动 | |
|---|---|---|---|---|
|
|
3
9月 25
|
3005 | ||
|
|
2
8月 23
|
3015 | ||
|
|
2
5月 23
|
3162 | ||
|
|
1
4月 23
|
3363 | ||
|
|
0
6月 22
|
2198 |