Skip to main content
Odoo Community Association

Product uom reference

Beta License: AGPL-3 OCA/product-attribute Translate me on Weblate Try me on Runboat

This module shows a unit price (price per reference unit of measure) on product labels, so customers can compare products sold in different package sizes, as required by EU Directive 98/6/EC on consumer protection in the indication of the prices of products.

The reference unit of measure is chosen freely and may belong to a different category than the product’s unit of measure: a product sold per Units can show its price per kg or per L. The ratio is the quantity of the reference unit contained in one unit of the product (its net content), so it depends on the product, not on the conversion factors of the units of measure.

Example, two products sold per Units:

  • Tomato paste 500 g: $2.50 per Units, ratio 0.5 → $5.00 per kg

  • Tomato paste 1 kg: $4.50 per Units, ratio 1 → $4.50 per kg

Table of contents

Configuration

Enable unit of measure role

  1. Go to Settings > Users & Companies > Users

  2. Create or edit a user

  3. Find the Manage Multiple Units of Measure role and select it

  4. Save

ROLE_UOM_IN_USER

Other option:

  1. Go to Settings

  2. Option Inventory

  3. Find the option Units of Measure and select it

  4. Save

OPTION_UOM_IN_SETTINGS

Usage

Add Uom Reference

  1. Go to Inventory > Configuration > Product UOM Reference

  2. Add a new item:

    • Name: a name to identify it, e.g. the packaging (Pack 500 g)

    • Uom: the unit of measure the product is sold in (Units)

    • Uom Reference: the unit of measure used for the unit price on the label (kg)

    • Ratio: quantity of the reference unit contained in one unit of the product (0.5 for a 500 g pack sold per Units and shown per kg)

  3. Save

CREATE_REFERENCE

Configure Uom Reference in Product

  1. Go to Inventory > Products > Products

  2. Create or edit a product

  3. Select a Uom Reference. Only the references whose Uom matches the product’s unit of measure are shown

  4. Save

CONFIGURE_REFERENCE_PRODUCT

Print labels with Uom Reference

  1. Follow the steps Configure Uom Reference in Product

  2. Press the Print labels button and select the type of label you want to print

  3. Press the button Confirm

  4. Upon confirmation, the product label is generated, in which the price of the reference unit is shown below the product price: the product price divided by the ratio configured in Add Uom Reference.

    Example:

    • Product price: $2.50 per Units

    • Ratio: 0.5

    • Price per reference unit: $2.50 / 0.5 = $5.00 per kg

PRODUCT_PRINT_LABELS

REPORT_PRINT_LABELS

REPORT_PRINT_LABELS_ZPL

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

  • Binhex

Contributors

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.

This module is part of the OCA/product-attribute project on GitHub.

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

Metadata

Release files for odoo-addon-product-uom-reference 18.0.1.0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-product-uom-reference 18.0.1.0.0.2
File Interpreter ABI Platform Actions
odoo_addon_product_uom_reference-18.0.1.0.0.2-py3-none-any.whl Python 3 none any Details for odoo_addon_product_uom_reference-18.0.1.0.0.2-py3-none-any.whl

Release files / odoo_addon_product_uom_reference-18.0.1.0.0.2-py3-none-any.whl

Download URL odoo_addon_product_uom_reference-18.0.1.0.0.2-py3-none-any.whl
Size 368.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e18c2e5a3e88e27f0ce2ebe6f1686dfc0a6a9e59c9c7d69453cb506cf49e3f0
BLAKE2b-256 checksum
How to use checksums
e0f2736e0844989cc511c07b26a1299c3f89f4c700522580e609b597697cb108
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for odoo-addon-product-uom-reference 18.0.1.0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

18.0.1.0.0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page