Skip to content
Health
78/100
good
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 7 months ago
  • Required by15/25
    1 module depends on it
  • Maturity18/25
    In 3 Odoo series since 16.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
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.image instance linked to the mixin.

Dependencies

Odoo dependencies
OCA/storage:
odoo/odoo:
- web
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 IDNameModelTypeStatus
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)
  • mimetype Char
    compute='_compute_mimetype' store=True
  • name Char
    compute='_compute_name' index=True store=True
Public methods (0)

No public methods.

New fields (5)
  • image_id Many2one → fs.image
    comodel_name='fs.image' string='Linked image'
  • link_existing Boolean
    default=False
  • mimetype Char
    compute='_compute_mimetype' store=True
  • name Char
    compute='_compute_name' index=True store=True
  • sequence Integer
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

Loading…

Loading…