Metadata-Version: 2.1
Name: odoo-addon-purchase_product_internal_reference
Version: 18.0.1.0.0.1
Requires-Python: >=3.10
Requires-Dist: odoo==18.0.*
Summary: Display internal product reference in purchase orders
Home-page: https://github.com/sygel-technology/sy-purchase-workflow
License: AGPL-3
Author: Sygel, 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

===================================
Purchase product internal reference
===================================

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

.. |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/licence-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-sygel--technology%2Fsy--purchase--workflow-lightgray.png?logo=github
    :target: https://github.com/sygel-technology/sy-purchase-workflow/tree/18.0/purchase_product_internal_reference
    :alt: sygel-technology/sy-purchase-workflow

|badge1| |badge2| |badge3|

This module allows configuring the Purchase application to display the
internal product reference (``default_code``) in the product selection
dropdown.

By default, when adding a product to a document for a partner marked as
a supplier, Odoo may display the supplier reference defined in
``product.supplierinfo`` instead of the internal reference.

When the option *Show internal reference* is enabled at company level,
the product selector dropdown always shows the internal reference
instead of the supplier reference.

**Table of contents**

.. contents::
   :local:

Installation
============

To install this module, you need to:

- Only install

Configuration
=============

This setting must be configured per company:

1. Go to **Purchase** → **Settings**
2. Enable **"Show internal product reference"**
3. Save changes

Usage
=====

1. Go to **Purchase** → **Orders** → **Requests for Quotation**
2. Create a new RFQ
3. Select a vendor
4. Add a product line

When the option is enabled:

- The product selector dropdown shows the internal reference.

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

Bugs are tracked on `GitHub Issues <https://github.com/sygel-technology/sy-purchase-workflow/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/sygel-technology/sy-purchase-workflow/issues/new?body=module:%20purchase_product_internal_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
-------

* Sygel

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

- `Sygel <https://www.sygel.es>`__:

  - Ángel García de la Chica Herrera
  - Valentín Vinagre
  - Ángel Rivas

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

This module is part of the `sygel-technology/sy-purchase-workflow <https://github.com/sygel-technology/sy-purchase-workflow/tree/18.0/purchase_product_internal_reference>`_ project on GitHub.

You are welcome to contribute.
