تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
8575 أدوات العرض

Dear all,

I am using Odoo 12 and have the need of using geolocation on a module I am developing.

What I need to do is to get current user location (lat-long coordinates) when user clicks on a button but I do not know where to start.

Is there any module that allows me to easily achieve this?

I simple do not know where to start.

Thank you all in advance

Best regards

PM


الصورة الرمزية
إهمال
أفضل إجابة

You can not geolocate a user, as a user has no address. You can only geolocate the related partner, see:

https://imgur.com/a/wQhtfwl


الصورة الرمزية
إهمال
الكاتب

Thank you @Ermin Trevisan

It really makes send.

I will try to look at alternatives on OCA Geospatial and or standard HTML 5.

Regards

PM

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
أبريل 25
3505
1
ديسمبر 24
4099
0
ديسمبر 24
935
0
مارس 24
1300
0
أكتوبر 22
2498