OdooWiki OCA HUB

Field Service - Current Location

fieldservice_current_location folder_open OCA/field-service open_in_new
Field Service License: AGPL-3

This module adds the ability to use the current location in FSM orders. It is helpful for business workflows where field workers need to create orders on-site. By automatically filling in the current address, it reduces manual entry and helps prevent human error.

auto_awesome What this module does

AI-generated from the code · Odoo 17.0

Adds a 'Use Current Location' button on field service orders that fills the order's location from the worker's GPS position, creating or reusing a location automatically.

This module lets field workers set the location of a field service order directly from their device's GPS position instead of typing an address.

On the field service order form a 'Use Current Location' button appears. Pressing it asks the browser for the current position, looks up the address, and either reuses an existing fsm.location with the same place or creates a new location and contact with the street, city, postcode, state and country found. The order's location is then updated and a confirmation message is shown. If no usable address is found, an error is raised.

A setting 'Restrict Current Location in Templates' is added in the Field Service settings. When enabled, the button only appears on orders whose template has 'Use Current Location' checked; that option is shown on the field service template form only when the restriction is active.

A new 'place' field is stored on fsm.location to recognise already-known places, and access rights are added so field service users can create locations. The module relies on an external geocoding service and needs the geopy Python library.

Depends on

fieldservicebase_geolocalize
Models and fields (4)
  • fsm.order · extends an existing modelshow_geolocate_button
  • fsm.location · extends an existing modelplace
  • fsm.template · extends an existing modeluse_current_location, show_use_current_location
  • res.config.settings · extends an existing modelrestrict_current_location_in_templates (Restrict Current Location in Templates)

Text generated by AI (DeepSeek) from reading the Odoo 17.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 17.0

Confirmed on 2026-11-03 in branch 17.0 of OCA/field-service.

terminal Installation and usage

OCA documentation · Odoo 17.0

To comply with Nominatim’s usage policy, each instance must have a unique User-Agent string configured. This value is stored in the system parameter: nominatim.user_agent

If not set manually, it will be automatically generated the first time the geolocation feature is used and stored under Settings → Technical → System Parameters.

> You can optionally define a custom value (for example, including your company name or contact email) > to make API requests more easily identifiable and compliant with OpenStreetMap policies.

  • Create an FSM Order.
  • Set a Location for the order.
  • Click the Use Current Location button.

This will create a sub-partner under the selected location, using your current geographic coordinates as the address.

> 📍 For better accuracy, use this feature on a mobile device with GPS enabled.

No verified information in OCA: Installation.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.