Skip to content
Health
90/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 2 months ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 8 Odoo series since 10.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
1
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.1 MB
Module directory on disk
Code analysis 0 migration notes 4 models 7 views 0 HTTP endpoints

Description

External image management depending on Storage File module.

It include these features:

  • image resizing: thumbnail, etc.
  • store metadata like: checksum, mimetype

Use cases:

  • product images on CDN for e-commerce website
  • raw products images on cheap storage (ie AWS Glacier, AWS S3)

Dependencies

Odoo dependencies
OCA/storage:
odoo/odoo:
Python dependencies
python_slugify
System dependencies
None
Required by
storage_image_product

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 7

XML IDNameModelTypeStatus
storage_file_replace_view_form storage.file.replace.form storage.file.replace form New
storage_image_view_form storage.image form New
storage_image_view_kanban storage.image kanban New
storage_image_view_search storage.image search New
storage_image_view_tree storage.image list New
view_storage_image_abstract_form image.relation.abstract form New
view_storage_image_abstract_kanban image.relation.abstract kanban New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (5)
  • image_alt_name Char
    related='image_id.alt_name'
  • image_id Many2one → storage.image
    ondelete='cascade' required=True args: 'storage.image'
  • image_name Char
    related='image_id.name'
  • image_url Char
    related='image_id.image_medium_url'
  • sequence Integer
Public methods (0)

No public methods.

New fields (1)
  • file_type Selection
    ondelete={'image': 'set null'} selection_add=[('image', 'Image')]
Public methods (0)

No public methods.

New fields (1)
  • image_id Many2one → storage.image
    args: 'storage.image'
Public methods (2)
  • confirm(self)
  • default_get(self, fields_list)
    @api.model
    'default_get' method overloaded.

New fields (2)
  • alt_name Char
    string='Alt Image name'
  • file_id Many2one → storage.file
    ondelete='cascade' required=True args: 'storage.file', 'File'
Public methods (3)
  • create(self, vals_list)
    @api.model_create_multi
  • onchange_name(self)
    @api.onchange('name')
  • unlink(self)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…