Stock Measuring Device
stock_measuring_device · OCA/stock-logistics-interfaces
OCA/stock-logistics-warehouse 13.0–14.0 → OCA/stock-logistics-interfaces 18.0
-
Security25/25No findings
-
Activity12/25Last human commit 15 months ago
-
Required by20/252 modules depend on it
-
Maturity18/25In 3 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
MeasuringDevice— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
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.
Dependencies
- Odoo dependencies
- Python dependencies
- cachetools, openupgradelib
- System dependencies
- None
- Required by
- shopfloor_reception_measuring_device, stock_measuring_device_zippcube
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_measuring_device_form |
measuring.device.form | measuring.device | form | New |
view_measuring_device_tree |
measuring.device.list | measuring.device | list | New |
view_measuring_wizard |
measuring.wizard.form | measuring.wizard | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
-
device_typeSelectionhelp='The type of device (e.g. zippcube, cubiscan...) depending on which module are installed.'selection=[] -
nameCharrequired=True -
stateSelectioncopy=Falsedefault='not_ready'readonly=True args: [('not_ready', 'Not Ready'), ('ready', 'Ready')] -
warehouse_idMany2one → stock.warehouserequired=True args: 'stock.warehouse'
-
open_wizard(self) -
test_device(self)
-
device_idMany2one → measuring.devicereadonly=True args: 'measuring.device' -
line_idsOne2many → measuring.wizard.lineargs: 'measuring.wizard.line', 'wizard_id' -
product_idMany2one → product.productdomain=[('type', '=', 'consu'), ('is_storable', '=', True)] args: 'product.product'
-
action_close(self) -
action_reopen_fullscreen(self) -
action_save(self) -
on_barcode_scanned(self, barcode) -
onchange_product_id(self)@api.onchange('product_id') -
reload(self) -
retrieve_product(self)Assigns product that locks the device if a scan is already requested.
-
barcodeCharargs: 'GTIN' -
heightIntegerreadonly=True args: 'Height (mm)' -
is_measuredBoolean -
is_unit_lineBooleanreadonly=True -
nameCharreadonly=True args: 'Packaging' -
packaging_idMany2one → product.packagingreadonly=Truestring='Packaging (rel)' args: 'product.packaging' -
packaging_lengthIntegerreadonly=True args: 'Length (mm)' -
packaging_level_idMany2one → product.packaging.levelreadonly=True args: 'product.packaging.level' -
qtyFloatargs: 'Quantity' -
scan_requestedBoolean -
sequenceInteger -
volumeFloatcompute='_compute_volume'digits=(8, 4)readonly=Truestore=False args: 'Volume (m³)' -
weightFloatreadonly=True args: 'Weight (kg)' -
widthIntegerreadonly=True args: 'Width (mm)' -
wizard_idMany2one → measuring.wizardargs: 'measuring.wizard'
-
measuring_select_for_measure(self)Current line has been selected for measurement This implies that the device is acquired and locked, and the packaging is assigned the device. -
measuring_select_for_measure_cancel(self)Current line has been de-selected for measurement This implies that the packaging clears is assigned device.
-
measuring_device_idMany2one → measuring.devicecopy=Falsehelp='Technical field set when an operator uses the device to scan this package'index=Truestring='Measuring device which will scan the package' args: 'measuring.device'
No public methods.
-
measuring_device_idsOne2many → measuring.deviceargs: 'measuring.device', 'warehouse_id'
No public methods.
Loading…
Loading…