コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
5287 ビュー

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

アバター
破棄
関連投稿 返信 ビュー 活動
2
3月 24
2390
2
8月 23
2420
2
5月 23
2620
1
4月 23
2814
0
6月 22
1658