TIP: You can type at any time to perform a new search.
Fs Base Multi Image
fs_base_multi_image · OCA/storage
- Repository
- OCA/storage · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Uncategorized
- 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 08:42:56
- Authors
- ACSONE SA/NV, Odoo Community Association (OCA)
- Maintainers
- ACSONE SA/NV, Odoo Community Association (OCA)
- Committers
- Florian Mounier, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- fsspec>=2025.3.0, python_slugify, fsspec>=2024.5.0
- System dependencies
- None
- Required by
- search_engine_image_thumbnail
- 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.image` instance linked to the mixin.
Code Analysis ⓘ
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…