Metadata-Version: 2.1
Name: odoo-addon-product_uom_reference
Version: 18.0.1.0.0.2
Requires-Python: >=3.10
Requires-Dist: odoo==18.0.*
Summary: Configure reference unit of measurement
Home-page: https://github.com/OCA/product-attribute
License: AGPL-3
Author: Binhex, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 18.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Description-Content-Type: text/x-rst

.. image:: https://odoo-community.org/readme-banner-image
   :target: https://odoo-community.org/get-involved?utm_source=readme
   :alt: Odoo Community Association

=====================
Product uom reference
=====================

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:1f0334d907eea1116c8bc4ba3650775032aa0ec63af9522cdbb1d3827d3d6f38
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
    :target: https://odoo-community.org/page/development-status
    :alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
    :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fproduct--attribute-lightgray.png?logo=github
    :target: https://github.com/OCA/product-attribute/tree/18.0/product_uom_reference
    :alt: OCA/product-attribute
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/product-attribute-18-0/product-attribute-18-0-product_uom_reference
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
    :target: https://runboat.odoo-community.org/builds?repo=OCA/product-attribute&target_branch=18.0
    :alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows you to display a reference price for the initial unit
of measure on product labels.

Example: Product: Meat Price: $100 per kg Reference price: $50 per pound

**Table of contents**

.. contents::
   :local:

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|

.. |ROLE_UOM_IN_USER| image:: https://raw.githubusercontent.com/OCA/product-attribute/18.0/product_uom_reference/static/img/readme/rol_uom_in_user.png
.. |OPTION_UOM_IN_SETTINGS| image:: https://raw.githubusercontent.com/OCA/product-attribute/18.0/product_uom_reference/static/img/readme/option_uom_in_settings.png

Usage
=====

Add Uom Reference
-----------------

1. Go to Inventory > Configuration > Product UOM Reference
2. Add a new item
3. Save

|CREATE_REFERENCE|

Configure Uom Reference in Product
----------------------------------

1. Go to Inventory > Products > Products
2. Create a new product
3. Select a reference unit. Note that only units whose initial unit of
   measurement matches the product's unit of measurement will be
   displayed
4. Save

|CONFIGURE_REFERENCE_PRODUCT|

Print labels with Uom Reference
-------------------------------

1. Follow the steps `Configure Uom Reference in
   Product <#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, taking into
   account the ratio configured in `Add Uom
   Reference <#add-uom-reference>`__.

   Example:

   - Price based on initial unit of measure (kg): $100 per kg
   - Reference unit of measure ratio: 2.0
   - Price based on reference unit of measure (lb): $50 per lb

|PRODUCT_PRINT_LABELS|

|REPORT_PRINT_LABELS|

|REPORT_PRINT_LABELS_ZPL|

.. |CREATE_REFERENCE| image:: https://raw.githubusercontent.com/OCA/product-attribute/18.0/product_uom_reference/static/img/readme/create_reference.png
.. |CONFIGURE_REFERENCE_PRODUCT| image:: https://raw.githubusercontent.com/OCA/product-attribute/18.0/product_uom_reference/static/img/readme/configure_reference_product.png
.. |PRODUCT_PRINT_LABELS| image:: https://raw.githubusercontent.com/OCA/product-attribute/18.0/product_uom_reference/static/img/readme/product_print_labels.png
.. |REPORT_PRINT_LABELS| image:: https://raw.githubusercontent.com/OCA/product-attribute/18.0/product_uom_reference/static/img/readme/report_print_labels.png
.. |REPORT_PRINT_LABELS_ZPL| image:: https://raw.githubusercontent.com/OCA/product-attribute/18.0/product_uom_reference/static/img/readme/report_print_labels_zpl.png

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/product-attribute/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 <https://github.com/OCA/product-attribute/issues/new?body=module:%20product_uom_reference%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
-------

* Binhex

Contributors
------------

- [Binhex Cloud] (https://www.binhex.cloud):

  - Edilio Escalona Almira e.escalona@binhex.cloud

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: https://odoo-community.org

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 <https://github.com/OCA/product-attribute/tree/18.0/product_uom_reference>`_ project on GitHub.

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