การวางแผนเส้นทางการเดินทาง¶
โดยค่าเริ่มต้น การบริการภาคสนาม Odoo จะแสดงแผนที่แบบคงที่ซึ่งตำแหน่งงานทั้งหมดสำหรับวันนั้นถูกปักหมุดไว้ เพื่อให้มีประโยชน์มากขึ้นสำหรับพนักงานบริการภาคสนาม สามารถแสดงเส้นทางการเดินทางบนแผนที่โดยใช้ MapBox ได้ โดยทำการเปิดใช้งานฟีเจอร์ แผนที่เส้นทาง ดังนี้:
สร้างหรือลงชื่อเข้าใช้บัญชี MapBox โดยใช้ลิงก์ต่อไปนี้: https://www.mapbox.com/
Go to the Access tokens page on Mapbox and copy your token.
In Odoo, go to the Settings app and scroll down to the Integrations section. Paste your Mapbox access token in the Token field under Map Routes, and click Save.
Displaying your itinerary on a map¶
Important
For a field service task to be featured on the map, a valid address must be provided for the customer.
To display your tasks on a map, go to . To create your itinerary, Odoo sorts out your field service tasks based on their Planned Date to show the way from one location to the next.
To open your itinerary on the Google Maps website or app, click View in Google Maps. Google Maps includes your current location as a starting point for your itinerary.
Tip
By default, the map shows today’s tasks. Remove the Today filter in the search bar to display all tasks. Your tasks are then sorted by date in the left column.
Click your task in the left column or the map pin to display the task's details. From there, you can Open the task or click Navigate to to get an itinerary from your current location to this specific task's location.