Repository
OCA/storage · module folder · Try on Runboat
Module version
1.0.1
Category
Storage
Folder size
0.1 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/storage
Last tracking update
2026-08-07 09:06:25
Authors
Akretion, Odoo Community Association (OCA)
Maintainers
Akretion, Odoo Community Association (OCA)
Committers
Stéphane Bidoul, Laurent Mignon (ACSONE)
Odoo dependencies
OCA/connector:
OCA/server-env:
OCA/storage:
odoo/odoo:
Python dependencies
python_slugify, cachetools
System dependencies
None
Required by
storage_image_product
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)

Code Analysis

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…