Metadata-Version: 2.1
Name: odoo-addon-product_supplierinfo_import
Version: 18.0.1.1.0
Requires-Python: >=3.10
Requires-Dist: odoo==18.0.*
Summary: Import supplier pricelists
Home-page: https://github.com/OCA/product-attribute
License: AGPL-3
Author: Tecnativa, 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

==========================
Import supplier pricelists
==========================

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

.. |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_supplierinfo_import
    :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_supplierinfo_import
    :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 importing vendor price lists from Excel files,
matching products using any product template char field.

**Table of contents**

.. contents::
   :local:

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

Vendor pricelists sheet files could come in a variety of column formats.
We can configure templates to match them to know what data we need to
store in our pricelist.

To do so:

1.  Go to *Purchase > Configuration > Vendor pricelist import
    templates*.
2.  Edit or create a new one.
3.  Create a template name.
4.  Assign a default supplier. (Set a default supplier that will be
    associated with this template)
5.  In the **Header Offset**, determine the line where the headers are
    located. (Specify the line number where the column headers are found
    in your sheet file)
6.  In the **Sheet Number**, we will be able to specify the page number
    to select it.
7.  In the **Search Header Name**, set the name of the column you want
    to filter by. (Indicate the column name used for filtering the data)
8.  In the Search Field, set the data you want to filter by. (Specify
    the field used for filtering)
9.  Set a headers mapping with the rest header names and which fields we
    should update. (Map the remaining header names to the corresponding
    fields that should be updated in the system)
10. A header mapping could have no related field, but is important to
    have it if we want to detect the sheet data when we are importing.
11. The order isn't important. (The order of the header mappings does
    not affect the import process)
12. If **Only Update Existing** is checked, only existing pricelists
    will be updated; no new ones will be created.
13. If **Show Not Updated Rates** is enabled, the unupdated rates will
    be shown grouped at the end of the import.
14. If a column in the sheet is empty, set a field with a space (" ")
    inside to ensure a match.

Usage
=====

To use this module, you need to:

1. Go to *Purchase > Configuration > Import vendor pricelists*.
2. Upload your vendor pricelists sheet file.
3. Set the vendor partner, the date from which the pricelists are valid
   and the lead days.
4. Click on import and view.

If a template for that file is configured, it will match the headers
with the column values and create or update the vendor pricelists
accordingly.

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_supplierinfo_import%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
-------

* Tecnativa

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

- `Tecnativa <https://tecnativa.com>`__

  - David Vidal
  - Juan Carlos Oñate

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_supplierinfo_import>`_ project on GitHub.

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