Skip to main content

Implement interface with Bosche Zippcube devicesfor packaging measurement

Project description

Odoo Community Association

Stock Zippcube

Alpha License: AGPL-3 OCA/stock-logistics-interfaces Translate me on Weblate Try me on Runboat

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.

https://www.bosche.eu/en/industrial-scales/logistic-scales/scales-for-logistic-and-transport/zippcube

Table of contents

Installation

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": "<insert secret here>"}
REST_BaseURL=http://<odoo_host_url>/stock/zippcube/<device_name>/measurement
REST_ContentType=application/json
REST_AcceptEncoding=gzip, deflate

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

Configuration

Create a measuring device with a type set to “zippcube”.

Usage

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.

Known issues / Roadmap

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Camptocamp

Contributors

Other credits

The migration of this module from 13.0 to 14.0 was financially supported by Camptocamp

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

gurneyalex

This module is part of the OCA/stock-logistics-interfaces project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_stock_measuring_device_zippcube-18.0.1.0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_stock_measuring_device_zippcube-18.0.1.0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 45d9d6f7533c3d248a9ffcb8e91e71fc47c98f80873dc6a6e37bfbe6c4d0083e
MD5 7c30a24ad4ea89e9bbcddf1f7e32d3f8
BLAKE2b-256 3aacf4af336e845765679cf1026b9193bd896273872fdd10c69e6f8a4d9c7bf4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page