changes
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user