TIP: You can type at any time to perform a new search.

Security findings

Repository
odoo/odoo · module folder
Module version
2.1
Category
Sales/Sales
Folder size
0.47 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
None
Last tracking update
2026-10-01 12:15:10
Authors
Odoo S.A.
Maintainers
Odoo S.A.
Committers
Raphael Collet, Odoo Translation Bot, Xavier-Do, Victor Feyens, Sébastien Theys, Tiffany Chang (tic), Stanislas Sobieski, luvi, Dylan Kiss (dyki), Chong Wang (cwg), Xavier Bol (xbo), aktr-odoo, Martin Trigaux (mat), Mathieu Coutant, Julien Launois (jula), Yash Tiwari (Yatiw)
Odoo dependencies
odoo/odoo:
- web
Python dependencies
None
System dependencies
None
Required by
hr_attendance, pos_self_order, website_crm_partner_assign, website_google_map, website_sale_collect
Description
Partners Geolocation
========================
    

Code Analysis info_outline

Views touched (3)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form.inherit.web.geoloclaize res.config.settings form Inherits base_setup.res_config_settings_view_form
view_crm_partner_geo_form res.partner.geolocation.inherit res.partner form Inherits base.view_partner_form
view_geo_provider_form base.geo_provider.form base.geo_provider form New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (2)
  • name Char
  • tech_name Char
    string='Technical Name'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • geo_find(self, addr, **kw)
    @api.model
    Use a location provider API to convert an address string into a latitude, longitude tuple. Here we use Openstreetmap Nominatim by default. :param addr: Address string passed to API :return: (latitude, longitude) or None if not found
  • geo_query_address(self, street=None, zip=None, city=None, state=None, country=None)
    @api.model
    Converts address fields into a valid string for querying geolocation APIs. :param street: street address :param zip: zip code :param city: city :param state: state :param country: country :return: formatted string

New fields (3)
  • geoloc_provider_googlemap_key Char
    config_parameter='base_geolocalize.google_map_api_key' help='Visit https://developers.google.com/maps/documentation/geocoding/get-api-key for more information.' string='Google Map API Key'
  • geoloc_provider_id Many2one → base.geo_provider
    config_parameter='base_geolocalize.geo_provider' default=<expr> string='API' args: 'base.geo_provider'
  • geoloc_provider_techname Char
    readonly=True related='geoloc_provider_id.tech_name'
Public methods (1)
  • set_values(self)

New fields (2)
  • date_localization Date
    string='Geolocation Updated On'
  • should_be_geolocalized Boolean
    compute='_compute_should_be_geolocalized' default=False help="Indicates whether the partner's address has changed, so we should geolocalize them from their new address." readonly=False store=True
Public methods (2)
  • geo_localize(self)
  • write(self, vals)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…