Fs Base Multi Image

fs_base_multi_image
REPOSITORY
REPOSITORYOCA/storage
GIT
GIThttps://github.com/OCA/storage.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/storage/tree/18.0/fs_base_multi_image
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, Florian Mounier
WEBSITE
WEBSITEhttps://github.com/OCA/storage
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:15
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-env:
    - server_environment
OCA/storage:
    - fs_image
    - fs_file
    - fs_attachment
    - fs_storage
odoo/odoo:
    - base
    - base_sparse_field
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES fsspec>=2025.3.0
python_slugify
fsspec>=2024.5.0
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 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
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)
REPOSITORY
REPOSITORYOCA/storage
GIT
GIThttps://github.com/OCA/storage.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/storage/tree/17.0/fs_base_multi_image
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSDaniel Reis, Weblate, OCA-git-bot, oca-ci, JasminSForgeFlow
WEBSITE
WEBSITEhttps://github.com/OCA/storage
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:08
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-env:
    - server_environment
OCA/storage:
    - fs_image
    - fs_file
    - fs_attachment
    - fs_storage
odoo/odoo:
    - base
    - base_sparse_field
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES fsspec>=2025.3.0
python_slugify
fsspec>=2024.5.0
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 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.tree (in fs_base_multi_image) fs.image tree New
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)
REPOSITORY
REPOSITORYOCA/storage
GIT
GIThttps://github.com/OCA/storage.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/storage/tree/16.0/fs_base_multi_image
VERSION
VERSION 1.1.2
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSLaurent Mignon (ACSONE), Weblate, OCA-git-bot, Benjamin Willig, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/storage
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:52
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/storage:
    - fs_image
    - fs_file
    - fs_attachment
    - fs_storage
odoo/odoo:
    - base
    - base_sparse_field
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES fsspec>=2025.3.0
python_slugify
fsspec>=2024.5.0
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

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.tree (in fs_base_multi_image) fs.image tree New
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)