
Since odoo/documentation#903, the guideline for the location of new resource (images, downloadable files, RST includes...) files is to place those inside the directory of the RST page that references them. For example, if `doc1.rst` has a reference to `image.png` and to `download.zip`, the file structure should look like this: ├── parent_doc/ │ └── doc1/ │ │ └── image.png │ │ └── download.zip │ └── doc1.rst │ └── doc2.rst ├── parent_doc.rst Before this commit, most of the resource files were still located inside 'media' directories holding all the resource files referenced by RST pages located at the same level as these directories. In the example above, a single 'media' directory would hold all the resource files referenced by both `doc1.rst` and `doc2.rst`. Doing so prevented us from figuring out easily which resource file was referenced by which RST page and, thus, lead to unused resource files piling up in the repository. It also made it more complicated to define codeowners regex rules because a team could not simply be assigned to `/some_page.*` but needed to be assigned to both `/some_page\.rst` and to the location of 'media'. In order to help new content writers figure out the guideline when taking examples from other RST pages, this commit retroactively applies the guideline to existing resource files and 'media' directories. The left-over resource files that are not referenced by any RST page are removed. task-2497965 closes odoo/documentation#2006 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
37 lines
1.3 KiB
ReStructuredText
37 lines
1.3 KiB
ReStructuredText
=====================
|
||
Planning an Itinerary
|
||
=====================
|
||
|
||
Having an itinerary being shown based on the chronological order of the activities and on the best
|
||
route to take, makes employees’ life easier and the workload more efficient.
|
||
|
||
Have an itinerary displayed directly in Odoo
|
||
============================================
|
||
Go to *Settings* and under *Map view* click on *Get token*.
|
||
|
||
.. image:: planning_itinerary/plit1.png
|
||
:alt: Configure Mapbox for Odoo Field Service
|
||
|
||
Click on :menuselection:`Start mapping for free --> fill the Username, email and password fields
|
||
--> agree with their Terms of Service and Privacy Policy --> Get started`. You will be redirected to
|
||
your account. Scrolling the page down you will find *Access tokens*. Copy the *Default public
|
||
token*.
|
||
|
||
.. image:: planning_itinerary/plit2.png
|
||
:align: center
|
||
:alt: Configure Mapbox for Odoo Field Service
|
||
|
||
Back in Odoo, paste it on :menuselection:`Token --> Save`.
|
||
|
||
.. image:: planning_itinerary/plit3.png
|
||
:alt: Configure Mapbox for Odoo Field Service
|
||
|
||
Now, your maps will show the itinerary based on the scheduled time and best route.
|
||
|
||
.. image:: planning_itinerary/plit4.png
|
||
:align: center
|
||
:alt: Configure Mapbox for Odoo Field Service
|
||
|
||
.. note::
|
||
This is an optional feature, as you can still have access to a map view without a Mapbox account.
|