Fs Base Multi Image
fs_base_multi_image · OCA/storage
Health
78/100
good
-
Security25/25No findings
-
Activity20/25Last human commit 7 months ago
-
Required by15/251 module depends on it
-
Maturity18/25In 3 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
3 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.08 MB
Module directory on disk
Code analysis
0 migration notes
2 models
5 views
0 HTTP endpoints
Description
This addon is a technical addon providing a set of models to ease the creation of other models that need to be linked to multiple images stored into external filesystems.
The models provided by this addon are:
fs.image: a model that stores a reference to an image stored into an external filesystem.fs.image.relation.mixin: an abstract model that can be used to as base class for models created to store an image linked to a model. This abstract model defines fields and methods to transparently handle 2 cases:- the image is specific to the model.
- the image is shared between multiple models and therefore is a
fs.imageinstance linked to the mixin.
Dependencies
- Odoo dependencies
- Python dependencies
- fsspec>=2025.3.0, python_slugify, fsspec>=2024.5.0
- System dependencies
- None
- Required by
- search_engine_image_thumbnail
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
fs_image_form_view |
fs.image.form (in fs_base_multi_image) | fs.image | form | New |
fs_image_relation_mixin_form_view |
fs.image.relation.mixin.form | fs.image.relation.mixin | form | New |
fs_image_relation_mixin_kanban_view |
fs.image.relation.mixin.kanban | fs.image.relation.mixin | kanban | New |
fs_image_search_view |
fs.image.search (in fs_base_multi_image) | fs.image | search | New |
fs_image_tree_view |
fs.image.list (in fs_base_multi_image) | fs.image | list | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (2)
-
mimetypeCharcompute='_compute_mimetype'store=True -
nameCharcompute='_compute_name'index=Truestore=True
No public methods.
New fields (5)
-
image_idMany2one → fs.imagecomodel_name='fs.image'string='Linked image' -
link_existingBooleandefault=False -
mimetypeCharcompute='_compute_mimetype'store=True -
nameCharcompute='_compute_name'index=Truestore=True -
sequenceInteger
-
create(self, vals_list)@api.model_create_multi -
write(self, vals)
Loading…
Loading…