Repository
OCA/storage · module folder · Try on Runboat
Module version
1.0.0
Category
Product
Folder size
0.08 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/storage
Last tracking update
2026-08-07 07:57:04
Authors
Camptocamp, Akretion, Odoo Community Association (OCA)
Maintainers
Akretion
Committers
Miquel Raïch, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
python-magic, validators, python_slugify, cachetools, requests
System dependencies
libmagic1
Required by
None
Description

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
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_size Integer
    default=10 help='How many lines will be handled in each job.' sparse='options'
  • create_missing_tags Boolean
    default=False sparse='options'
  • csv_column_default_code Char
    default='default_code' help='The CSV File column name that holds the product reference.' required=True string='Product Reference column'
  • csv_column_file_path Char
    default='path' help='The CSV File column name that holds the image file path or url.' required=True string='Image file path column'
  • csv_column_tag_name Char
    default='tag' help='The CSV File column name that holds the image tag name.' required=True string='Image Tag Name column'
  • csv_delimiter Char
    default=',' required=True string='CSV file delimiter'
  • csv_delimiter Char
    default=',' required=True string='CSV file delimiter'
  • done_on Datetime
  • external_csv_path Char
    help='Relative path of the CSV file located in the external storage' string='Path to CSV file'
  • file_csv Binary
    required=True string='CSV file'
  • filename Char
  • filename_zip Char
  • overwrite Boolean
    default=False sparse='options' args: 'Overwrite image with same name'
  • product_model Selection
    required=True args: [('product.template', 'Product template'), ('product.product', 'Product variants')]
  • report_html Html
    compute='_compute_report_html' readonly=True
  • source_storage_backend_id Many2one → storage.backend
    args: 'storage.backend', 'Storage Backend with images'
  • source_type Selection
    default='url' required=True args: [('url', 'URL'), ('zip_file', 'Zip file'), ('external_storage', 'External storage')]
  • source_zipfile Binary
    required=False args: 'ZIP with images'
  • state Selection
    default='new' string='Import state' args: [('new', 'New'), ('scheduled', 'Scheduled'), ('done', 'Done')]
  • storage_backend_id Many2one → storage.backend
    required=True args: 'storage.backend', 'Storage Backend'
Public methods (2)
  • action_import(self)
  • do_import(self, lines=None, last_chunk=False)

Loading…

Loading…