Skip to content

Commit 91cc896

Browse files
[IMP] product_supplierinfo_import_by_barcode: To product_supplierinfo_import
TT55210
1 parent 2380fbc commit 91cc896

23 files changed

+625
-441
lines changed

product_supplierinfo_import/README.rst

+37-19
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
=====================================
2-
Import supplier pricelists by barcode
3-
=====================================
1+
==========================
2+
Import supplier pricelists
3+
==========================
44

55
..
66
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@@ -17,19 +17,18 @@ Import supplier pricelists by barcode
1717
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1818
:alt: License: AGPL-3
1919
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fproduct--attribute-lightgray.png?logo=github
20-
:target: https://github.com/OCA/product-attribute/tree/16.0/product_supplierinfo_import_by_barcode
20+
:target: https://github.com/OCA/product-attribute/tree/16.0/product_supplierinfo_import
2121
:alt: OCA/product-attribute
2222
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_supplierinfo_import_by_barcode
23+
:target: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_supplierinfo_import
2424
:alt: Translate me on Weblate
2525
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
2626
:target: https://runboat.odoo-community.org/builds?repo=OCA/product-attribute&target_branch=16.0
2727
:alt: Try me on Runboat
2828

2929
|badge1| |badge2| |badge3| |badge4| |badge5|
3030

31-
This module allows to import vendor price lists from excel files
32-
matching the products from their barcode.
31+
This module allows to import vendor price lists from excel.
3332

3433
**Table of contents**
3534

@@ -39,20 +38,38 @@ matching the products from their barcode.
3938
Configuration
4039
=============
4140

41+
**Vendor Pricelist Import Templates**
42+
4243
Vendor pricelists sheet files could come in a variety of column formats.
4344
We can configure templates to match them to know what data we need to
4445
store in our pricelist.
4546

4647
To do so:
4748

48-
1. Go to *Purchase > Configuration > Vendor pricelist import templates*.
49-
2. Edit or create a new one.
50-
3. Set the name of the header to match by barcode.
51-
4. Set a headers mapping with the rest header names and which fields we
52-
should update.
53-
5. A header mapping could have no related field, but is important to
54-
have it if we want to detect the sheet data when we are importing.
55-
6. The order isn't important.
49+
1. Go to *Purchase > Configuration > Vendor pricelist import
50+
templates*.
51+
2. Edit or create a new one.
52+
3. **Create a template name.**
53+
4. **Assign a default supplier.** (Set a default supplier that will be
54+
associated with this template)
55+
5. **In the Header Offset, determine the line where the headers are
56+
located.** (Specify the line number where the column headers are
57+
found in your sheet file)
58+
6. **In the Search Header Name, set the name of the column you want to
59+
filter by.** (Indicate the column name used for filtering the data)
60+
7. **In the Search Field, set the data you want to filter by.**
61+
(Specify the field used for filtering)
62+
8. Set a headers mapping with the rest header names and which fields we
63+
should update. (Map the remaining header names to the corresponding
64+
fields that should be updated in the system)
65+
9. A header mapping could have no related field, but is important to
66+
have it if we want to detect the sheet data when we are importing.
67+
10. The order isn't important. (The order of the header mappings does
68+
not affect the import process)
69+
11. **If 'Only Update Existing' is checked, only existing pricelists
70+
will be updated; no new ones will be created.**
71+
12. **If 'Show Unupdated Rates' is enabled, the unupdated rates will be
72+
shown grouped at the end of the import.**
5673

5774
Usage
5875
=====
@@ -65,8 +82,8 @@ To use this module, you need to:
6582
and the lead days.
6683
4. Click on import and view.
6784

68-
I a template for that file is configured, it will match the headers with
69-
the column values and create or update the vendor pricelists
85+
If a template for that file is configured, it will match the headers
86+
with the column values and create or update the vendor pricelists
7087
accordingly.
7188

7289
Bug Tracker
@@ -75,7 +92,7 @@ Bug Tracker
7592
Bugs are tracked on `GitHub Issues <https://github.com/OCA/product-attribute/issues>`_.
7693
In case of trouble, please check there if your issue has already been reported.
7794
If you spotted it first, help us to smash it by providing a detailed and welcomed
78-
`feedback <https://github.com/OCA/product-attribute/issues/new?body=module:%20product_supplierinfo_import_by_barcode%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
95+
`feedback <https://github.com/OCA/product-attribute/issues/new?body=module:%20product_supplierinfo_import%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
7996

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

@@ -93,6 +110,7 @@ Contributors
93110
- `Tecnativa <https://tecnativa.com>`__
94111

95112
- David Vidal
113+
- Juan Carlos Oñate
96114

97115
Maintainers
98116
-----------
@@ -107,6 +125,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
107125
mission is to support the collaborative development of Odoo features and
108126
promote its widespread use.
109127

110-
This module is part of the `OCA/product-attribute <https://github.com/OCA/product-attribute/tree/16.0/product_supplierinfo_import_by_barcode>`_ project on GitHub.
128+
This module is part of the `OCA/product-attribute <https://github.com/OCA/product-attribute/tree/16.0/product_supplierinfo_import>`_ project on GitHub.
111129

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

product_supplierinfo_import/__manifest__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Copyright 2024 Tecnativa - David Vidal
22
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
33
{
4-
"name": "Import supplier pricelists by barcode",
5-
"summary": "Import supplier pricelists by barcode",
4+
"name": "Import supplier pricelists",
5+
"summary": "Import supplier pricelists",
66
"version": "16.0.1.0.0",
77
"category": "Product",
88
"website": "https://github.com/OCA/product-attribute",

0 commit comments

Comments
 (0)