Import Storage product image
storage_import_image_advanced · OCA/storage
Health
48/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 49 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
5 pip · 1 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.08 MB
Module directory on disk
Code analysis
3 migration notes
1 model
3 views
0 HTTP endpoints
Migration considerations
ir_cron_import_images_cleanup— Migrating to 18.0: `ir.cron` lost `numbercall`/`doall`: remove them from the record, data loading fails on unknown fields. migration-cron-numbercall · sourceproduct_import_image_form_view— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceproduct_import_image_tree_view— 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
Dependencies
- Odoo dependencies
- Python dependencies
- python-magic, validators, python_slugify, cachetools, requests
- System dependencies
- libmagic1
- Required by
- None
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_import_image_form_view |
product.import.image.form | storage.import.product_image | form | New |
product_import_image_tree_view |
product.import.image.tree | storage.import.product_image | tree | New |
report_html |
report_html | ir.ui.view | qweb | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (20)
-
chunk_sizeIntegerdefault=10help='How many lines will be handled in each job.'sparse='options' -
create_missing_tagsBooleandefault=Falsesparse='options' -
csv_column_default_codeChardefault='default_code'help='The CSV File column name that holds the product reference.'required=Truestring='Product Reference column' -
csv_column_file_pathChardefault='path'help='The CSV File column name that holds the image file path or url.'required=Truestring='Image file path column' -
csv_column_tag_nameChardefault='tag'help='The CSV File column name that holds the image tag name.'required=Truestring='Image Tag Name column' -
csv_delimiterChardefault=','required=Truestring='CSV file delimiter' -
csv_delimiterChardefault=','required=Truestring='CSV file delimiter' -
done_onDatetime -
external_csv_pathCharhelp='Relative path of the CSV file located in the external storage'string='Path to CSV file' -
file_csvBinaryrequired=Truestring='CSV file' -
filenameChar -
filename_zipChar -
overwriteBooleandefault=Falsesparse='options' args: 'Overwrite image with same name' -
product_modelSelectionrequired=True args: [('product.template', 'Product template'), ('product.product', 'Product variants')] -
report_htmlHtmlcompute='_compute_report_html'readonly=True -
source_storage_backend_idMany2one → storage.backendargs: 'storage.backend', 'Storage Backend with images' -
source_typeSelectiondefault='url'required=True args: [('url', 'URL'), ('zip_file', 'Zip file'), ('external_storage', 'External storage')] -
source_zipfileBinaryrequired=False args: 'ZIP with images' -
stateSelectiondefault='new'string='Import state' args: [('new', 'New'), ('scheduled', 'Scheduled'), ('done', 'Done')] -
storage_backend_idMany2one → storage.backendrequired=True args: 'storage.backend', 'Storage Backend'
-
action_import(self) -
do_import(self, lines=None, last_chunk=False)
Loading…
Loading…