Any one here with working google maps calculation/optimization in Delivery Trip?
When I feel data in the Delivery Trip and push button to Calculate or Optimize Route i receive error
ERPNext Version: v15.49.3
Traceback (most recent call last):
File "apps/frappe/frappe/app.py", line 114, in application
response = frappe.api.handle(request)
File "apps/frappe/frappe/api/__init__.py", line 49, in handle
data = endpoint(**arguments)
File "apps/frappe/frappe/api/v1.py", line 36, in handle_rpc_call
return frappe.handler.handle()
File "apps/frappe/frappe/handler.py", line 50, in handle
data = execute_cmd(cmd)
File "apps/frappe/frappe/handler.py", line 86, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "apps/frappe/frappe/__init__.py", line 1726, in call
return fn(*args, **newargs)
File "apps/frappe/frappe/handler.py", line 338, in run_doc_method
response = doc.run_method(method, **args)
File "apps/frappe/frappe/model/document.py", line 974, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 1334, in composer
return composed(self, method, *args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 1316, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File "apps/frappe/frappe/model/document.py", line 971, in fn
return method_object(*args, **kwargs)
File "apps/frappe/frappe/utils/typing_validations.py", line 31, in wrapper
return func(*args, **kwargs)
File "apps/erpnext/erpnext/stock/doctype/delivery_trip/delivery_trip.py", line 153, in process_route
delivery_stop.distance = distance * self.uom_conversion_factor
TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'