This commit is contained in:
gsinghpal
2026-04-17 17:31:12 -04:00
parent e07002d550
commit b09538b4e2
26 changed files with 1996 additions and 173 deletions

View File

@@ -41,6 +41,20 @@ class ResConfigSettings(models.TransientModel):
config_parameter='fusion_claims.technician_start_address',
help='Default start location for technician travel calculations (e.g. warehouse/office address)',
)
fc_osrm_url = fields.Char(
string='OSRM Base URL',
config_parameter='fusion_tasks.osrm_url',
help='Self-hosted OSRM endpoint (e.g. http://192.168.1.114:5000). '
'When set, Distance Matrix calls go to OSRM instead of Google, '
'saving paid API cost. Leave empty to use Google.',
)
fc_nominatim_url = fields.Char(
string='Nominatim Base URL',
config_parameter='fusion_tasks.nominatim_url',
help='Self-hosted Nominatim geocoding endpoint (e.g. http://192.168.1.114:8080). '
'When set, address geocoding goes to Nominatim instead of Google. '
'Leave empty to use Google.',
)
fc_location_retention_days = fields.Char(
string='Location History Retention (Days)',
config_parameter='fusion_claims.location_retention_days',