OdooWiki OCA HUB

Stock Zippcube

stock_measuring_device_zippcube folder_open OCA/stock-logistics-interfaces open_in_new
Warehouse License: AGPL-3

Different manufacturers produce devices which are able to measure and weigh packages and parcels. Each brand has a different communication protocol. This module provides an framework to interface such devices with Odoo.

This module provides support for Bosche Zippcube devices.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Connect Odoo to Bosche Zippcube measuring devices so package weight, length, width and height are captured automatically and applied to packaging records.

This module adds Zippcube as a selectable device type on measuring devices, so a Zippcube unit can be registered in Odoo and used for parcel measurement.

The device sends its readings to a dedicated web address that includes the device name. Each message must contain a secret code, a barcode, the weight and the three dimensions. If the secret is wrong or missing, or if the data does not match the expected format, the request is rejected and an error is logged.

When the data is valid, the values are converted into Odoo's units: the length, width and height are multiplied by ten, and decimal commas are accepted. The result is stored on the packaging record as weight, packaging length, width and height.

After the update, if the measurement was triggered from a wizard line, a notification is sent to refresh the screen, and the measuring device is released so it is free for the next parcel. The module touches the measuring.device model and the packaging measurement flow, and it relies on the base measuring device framework.

Models and fields (2)
  • measuring.device · extends an existing modeldevice_type
  • device.component.zippcube · new model

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/stock-logistics-interfaces.

terminal Installation and usage

OCA documentation · Odoo 18.0

To secure the communication, we use a pre-shared secret. Generate it with a tool able to generate a random string, such as uuidgen. Run Odoo with an environment variable called ZIPPCUBE_SECRET set to the value of the secret.

After you have configured the measuring device in Odoo, you need to configure the device itself.

Edit the language file on the computer attached to the device, and set the following parameters (the secret value must be the one generated earlier):

REST_Body={"barcode":"%%VAR_NUMBER%%", "weight":"%%VAR_SCALE_WEIGHT%%", "length":"%%VAR_LENGTH", "width":"%%VAR_WIDTH%%", "height":"%%VAR_HEIGHT%%", "secret": ""} REST_BaseURL=http:///stock/zippcube//measurement REST_ContentType=application/json REST_AcceptEncoding=gzip, deflate

For local testing you can use the script in scripts/measurement.sh

Create a measuring device with a type set to "zippcube".

Use the "Wizard" button on a Measuring Device to open the screen and take measurements.

After the measurement has been made, you need to click on the Refresh button.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.