2021-05-07 15:48:38 +07:00
===============
2023-02-25 02:22:49 +07:00
Connect a scale
2021-05-07 15:48:38 +07:00
===============
2023-02-25 02:22:49 +07:00
A scale can be connected to the :abbr: `IoT (Internet of Things)` box on an Odoo database in a few
easy steps. After setup, the *Point of Sale* app can be used to weigh products, which is helpful if
their prices are calculated based on weight.
2021-05-07 15:48:38 +07:00
2024-04-18 15:31:23 +07:00
.. important ::
- In EU member states, `certification is legally required <https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=uriserv%3AOJ.L_.2014.096.01.0107.01.ENG> `_
to use a scale as an integrated device.
- Odoo is not certified in several countries, including France, Germany, and Switzerland. If you
reside in one of these countries, you can still use a scale but without integration to your
Odoo database.
- Alternatively, you have the option to acquire a *non-integrated* certified scale that prints
certified labels, which can then be scanned into your Odoo database.
.. seealso ::
`Directive 2014/31/EU of the European Parliament <https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=uriserv%3AOJ.L_.2014.096.01.0107.01.ENG> `_
2021-05-07 15:48:38 +07:00
Connection
==========
2023-02-25 02:22:49 +07:00
To link the scale to the :abbr: `IoT (Internet of Things)` box, connect it with a :abbr:`USB
(Universal Serial Bus)` cable.
2021-05-07 15:48:38 +07:00
.. note ::
2023-02-25 02:22:49 +07:00
In some cases, a serial port to :abbr: `USB (Universal Serial Bus)` adapter may be needed.
2021-05-07 15:48:38 +07:00
2023-02-25 02:22:49 +07:00
If the scale is `compatible with Odoo IoT Box <https://www.odoo.com/page/iot-hardware> `_ , there is
no need to set up anything because it will be automatically detected as soon as it is connected.
2021-05-07 15:48:38 +07:00
.. image :: scale/iot-choice.png
:align: center
:alt: IOT box auto detection.
2023-02-25 02:22:49 +07:00
The :abbr: `IoT (Internet of Things)` box may need to be restarted and the scale's drivers may need
to be downloaded to the box in some cases. To update the drivers, go to the :abbr:`IoT (Internet of
Things)` box homepage and click on :guilabel:` Drivers List`. Then, click on :guilabel:` Load
Drivers`.
2021-05-07 15:48:38 +07:00
.. image :: scale/driver-list.png
:align: center
:alt: View of the IoT box settings and driver list.
2023-02-25 02:22:49 +07:00
If loading the drivers still doesn't allow for the scale to function, it may be that the scale is
not compatible with the Odoo :abbr: `IoT (Internet of Things)` box. In this case, a different scale
will need to be used.
2021-05-07 15:48:38 +07:00
2023-02-25 02:22:49 +07:00
Use a scale in a point of sale (POS) system
===========================================
2021-05-07 15:48:38 +07:00
2023-02-25 02:22:49 +07:00
To use the scale in the *Point of Sale app* , go to :menuselection:`PoS app --> 3-Dot Menu on the PoS
--> Settings`, then enable the :abbr:` IoT (Internet of Things)` box feature. After this is complete,
the scale device can be set.
2021-05-07 15:48:38 +07:00
2023-02-25 02:22:49 +07:00
Select the scale from the :guilabel: `Electronic Scale` drop-down menu. Then click :guilabel: `Save`
to save the changes, if required.
2021-05-07 15:48:38 +07:00
.. image :: scale/electronic-scale-feature.png
:align: center
:alt: List of the external tools that can be used with PoS and the IoT box.
2023-02-25 02:22:49 +07:00
The scale is now available in all the :abbr: `PoS (Point of Sale)` sessions. Now, if a product has a
price per weight set, clicking on it on the :guilabel: `PoS` screen opens the scale screen, where the
cashier can weigh the product and add the correct price to the cart.
2021-05-07 15:48:38 +07:00
.. image :: scale/scale-view.png
:align: center
2022-11-18 17:05:45 +07:00
:alt: Electronic Scale dashboard view when no items are being weighed.