
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 Part-of: odoo/documentation#2068
53 lines
1.6 KiB
ReStructuredText
53 lines
1.6 KiB
ReStructuredText
==========================
|
||
Connect a Measurement Tool
|
||
==========================
|
||
|
||
With Odoo’s *IoT Box*, it is possible to connect measurement tools to
|
||
your database. Find the list of supported devices here: `Supported
|
||
devices <https://www.odoo.com/page/iot-hardware>`__,.
|
||
|
||
Connect in USB
|
||
==============
|
||
|
||
To add a device connected by USB, just plug the USB cable in the *IoT
|
||
Box*, and the device should appear in your Odoo database.
|
||
|
||
.. image:: measurement_tool/measurement_tool_01.png
|
||
:align: center
|
||
|
||
Connect in Bluetooth
|
||
====================
|
||
|
||
Activate the Bluetooth on your device (see your device manual for
|
||
further explanation) and the IoT Box will automatically try to connect
|
||
to the device.
|
||
|
||
Here is an example of what it should look like:
|
||
|
||
.. image:: measurement_tool/measurement_tool_03.png
|
||
:align: center
|
||
|
||
Link a measurement tool to a quality control point
|
||
==================================================
|
||
|
||
With the Manufacturing app
|
||
--------------------------
|
||
|
||
In your *Quality app*, you can setup a device on your *Quality
|
||
Control Points*. To do so, go to the *Control Points* menu, under
|
||
*Quality Control* and open the control point to which you want to
|
||
assign a measurement tool.
|
||
|
||
Now, you can edit the control point and choose the device from the
|
||
dropdown list. Then, hit save.
|
||
|
||
.. image:: measurement_tool/measurement_tool_04.png
|
||
:align: center
|
||
|
||
Now, your measurement tool is linked to the chosen *Control Point*.
|
||
The value, which needs to be changed manually, will be automatically
|
||
updated while the tool is being used.
|
||
|
||
.. image:: measurement_tool/measurement_tool_05.png
|
||
:align: center
|