Storage Image
storage_image · OCA/storage
Health
90/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 8 Odoo series since 10.0
Heuristic over the facts below, not an audit · How it's computed
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
- 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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_nameCharrelated='image_id.alt_name' -
image_idMany2one → storage.imageondelete='cascade'required=True args: 'storage.image' -
image_nameCharrelated='image_id.name' -
image_urlCharrelated='image_id.image_medium_url' -
sequenceInteger
No public methods.
New fields (1)
-
file_typeSelectionondelete={'image': 'set null'}selection_add=[('image', 'Image')]
No public methods.
New fields (1)
-
image_idMany2one → storage.imageargs: 'storage.image'
-
confirm(self) -
default_get(self, fields_list)@api.model'default_get' method overloaded.
New fields (2)
-
alt_nameCharstring='Alt Image name' -
file_idMany2one → storage.fileondelete='cascade'required=True args: 'storage.file', 'File'
-
create(self, vals_list)@api.model_create_multi -
onchange_name(self)@api.onchange('name') -
unlink(self)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…