Import supplier pricelists
product_supplierinfo_import · OCA/product-attribute
Replaces
product_supplierinfo_import_by_barcode (18.0) Health
65/100
fair
-
Security25/25No findings
-
Activity20/25Last human commit 11 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 18.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.14 MB
Module directory on disk
Code analysis
0 migration notes
5 models
3 views
0 HTTP endpoints
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 | list | 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'), ('store', '=', True)] -
header_nameTexthelp='Copy it directly from the origin cell so it matches right'required=True -
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.
Loading…