Import supplier pricelists
product_supplierinfo_import_by_barcode · OCA/product-attribute
Renamed to product_supplierinfo_import in 18.0
Health
57/100
fair
-
Security25/25No findings
-
Activity12/25Last human commit 17 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.15 MB
Module directory on disk
Code analysis
1 migration note
5 models
3 views
0 HTTP endpoints
Migration considerations
product_supplierinfo_import_template_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
This module allows importing vendor price lists from Excel files, matching products using any product template char field.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_supplierinfo_import_form |
product.supplierinfo.import | form | New | |
product_supplierinfo_import_template_form |
product.supplierinfo.import.template | form | New | |
product_supplierinfo_import_template_tree |
product.supplierinfo.import.template | tree | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (1)
-
import_statusSelectiondefault='unchanged' args: [('new_or_updated', 'New or Updated'), ('unchanged', 'Unchanged')]
No public methods.
New fields (7)
-
create_new_productsBooleandefault=Truehelp="If a product isn't found by its Search Field, it will be created with the provided data" -
date_startDaterequired=Truestring='Validity' -
delayInteger -
supplier_idMany2one → res.partnercomodel_name='res.partner'compute='_compute_supplier_id'readonly=Falsestore=Truestring='Supplier' -
supplierinfo_fileBinaryrequired=True -
supplierinfo_filenameChar -
template_idMany2one → product.supplierinfo.import.templatecomodel_name='product.supplierinfo.import.template'compute='_compute_template_id'store=True
-
action_import_file(self)Process the uploaded sheet
New fields (9)
-
header_offsetIntegerdefault=0required=True -
import_criteria_field_idMany2one → ir.model.fieldscomodel_name='ir.model.fields'default=<expr>domain=[('model', '=', 'product.template'), ('ttype', '=', 'char')]help='The field that will be used to match the productsfrom the excel file with the ones in the Odoo database' -
nameCharrequired=True -
only_update_existingBooleandefault=Falsehelp='If enabled, only existing supplierinfo records will be updated. New ones will not be created.' -
search_header_nameCharrequired=True -
sheet_numberIntegerdefault=1help='The number of the sheet page in the spreadsheet where the pricelist are'required=True -
show_not_updated_ratesBooleanhelp="If checked, at the end of the import, it will display the supplier's rate records that were not updated." -
supplier_idMany2one → res.partnercomodel_name='res.partner' -
template_line_idsOne2many → product.supplierinfo.import.template.linecomodel_name='product.supplierinfo.import.template.line'inverse_name='template_id'string='Headers mapping'
No public methods.
New fields (3)
-
field_idMany2one → ir.model.fieldscomodel_name='ir.model.fields'domain=[('model', '=', 'product.supplierinfo')] -
header_nameTexthelp='Copy it directly from the origin cell so it matches right' -
template_idMany2one → product.supplierinfo.import.templatecomodel_name='product.supplierinfo.import.template'
No public methods.
New fields (2)
-
created_from_supplierinfo_importBooleanhelp='This product was created with the vendor import wizard' -
product_codeCharcompute='_compute_product_code'compute_sudo=Falsehelp='This is the supplier product code from Main Supplier.'readonly=Truesearch='_search_product_code'
No public methods.