| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/storage |
| GIT | |
| GIT | https://github.com/OCA/storage.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/storage/tree/18.0/fs_image_thumbnail |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Uncategorized |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), ACSONE SA/NV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), ACSONE SA/NV |
| COMMITTERS | |
| COMMITTERS | Sébastien BEAU, OCA-git-bot, oca-ci |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/storage |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:30:15 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/server-env: - server_environment OCA/server-tools: - base_partition OCA/storage: - fs_image - fs_file - fs_attachment - fs_storage odoo/odoo: - base - base_sparse_field - web |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES |
python_slugify fsspec>=2025.3.0 fsspec>=2024.5.0 |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | This module extends the **fs_image** addon to support the creation and the storage of thumbnails for images. This module is a **technical module** and is not meant to be installed by end-users. It only provides a mixin to be used by other modules and a model to store the thumbnails. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
fs_image_thumbnail_mixin_form_view |
fs.image.thumbnail.mixin.form (in fs_image_thumbnail) | fs.image.thumbnail.mixin | form | New |
fs_image_thumbnail_mixin_search_view |
fs.image.thumbnail.mixin.search (in fs_image_thumbnail) | fs.image.thumbnail.mixin | search | New |
fs_image_thumbnail_mixin_tree_view |
fs.image.thumbnail.mixin.list (in fs_image_thumbnail) | fs.image.thumbnail.mixin | list | New |
fs_thumbnail_form_view |
fs.thumbnail.form | fs.thumbnail | field | Inherits fs_image_thumbnail_mixin_form_view |
fs_thumbnail_search_view |
fs.thumbnail.search | fs.thumbnail | field | Inherits fs_image_thumbnail_mixin_search_view |
fs_thumbnail_tree_view |
fs.thumbnail.list | fs.thumbnail | field | Inherits fs_image_thumbnail_mixin_tree_view |
ir_attachment_form_view |
ir.attachment.form (in fs_image_thumbnail) | ir.attachment | group | Inherits base.view_attachment_form |
attachment_id
Many2one → ir.attachment
comodel_name='ir.attachment'
help='Attachment containing the original image'
ondelete='cascade'
required=True
string='Attachment'
base_name
Char
help='The thumbnail image will be named as base_name + _ + size_x + _ + size_y + . + extension.\nIf not set, the base name will be the name of the original image.This base name is used to find all existing thumbnail of an image generated for the same base name.'
required=True
args: 'The base name of the thumbnail image (without extension)'
mimetype
Char
compute='_compute_mimetype'
store=True
name
Char
compute='_compute_name'
store=True
size_x
Integer
required=True
args: 'X size'
size_y
Integer
required=True
args: 'Y size'
get_or_create_thumbnails(self, *images: <expr>, sizes: <expr>, base_name: str='') -> <expr>
get_thumbnails(self, *images: <expr>, base_name: str='') -> <expr>
No new fields.
Public methods (0)No public methods.
thumbnail_ids
One2many → fs.thumbnail
comodel_name='fs.thumbnail'
inverse_name='attachment_id'
string='Thumbnails'
No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/storage |
| GIT | |
| GIT | https://github.com/OCA/storage.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/storage/tree/17.0/fs_image_thumbnail |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Uncategorized |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), ACSONE SA/NV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), ACSONE SA/NV |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, oca-ci, chien |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/storage |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:20:08 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/server-env: - server_environment OCA/server-tools: - base_partition OCA/storage: - fs_image - fs_file - fs_attachment - fs_storage odoo/odoo: - base - base_sparse_field - web |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES |
python_slugify fsspec>=2025.3.0 fsspec>=2024.5.0 |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | This module extends the **fs_image** addon to support the creation and the storage of thumbnails for images. This module is a **technical module** and is not meant to be installed by end-users. It only provides a mixin to be used by other modules and a model to store the thumbnails. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
fs_image_thumbnail_mixin_form_view |
fs.image.thumbnail.mixin.form (in fs_image_thumbnail) | fs.image.thumbnail.mixin | form | New |
fs_image_thumbnail_mixin_search_view |
fs.image.thumbnail.mixin.search (in fs_image_thumbnail) | fs.image.thumbnail.mixin | search | New |
fs_image_thumbnail_mixin_tree_view |
fs.image.thumbnail.mixin.tree (in fs_image_thumbnail) | fs.image.thumbnail.mixin | tree | New |
fs_thumbnail_form_view |
fs.thumbnail.form | fs.thumbnail | field | Inherits fs_image_thumbnail_mixin_form_view |
fs_thumbnail_search_view |
fs.thumbnail.search | fs.thumbnail | field | Inherits fs_image_thumbnail_mixin_search_view |
fs_thumbnail_tree_view |
fs.thumbnail.tree | fs.thumbnail | field | Inherits fs_image_thumbnail_mixin_tree_view |
ir_attachment_form_view |
ir.attachment.form (in fs_image_thumbnail) | ir.attachment | group | Inherits base.view_attachment_form |
attachment_id
Many2one → ir.attachment
comodel_name='ir.attachment'
help='Attachment containing the original image'
ondelete='cascade'
required=True
string='Attachment'
base_name
Char
help='The thumbnail image will be named as base_name + _ + size_x + _ + size_y + . + extension.\nIf not set, the base name will be the name of the original image.This base name is used to find all existing thumbnail of an image generated for the same base name.'
required=True
args: 'The base name of the thumbnail image (without extension)'
mimetype
Char
compute='_compute_mimetype'
store=True
name
Char
compute='_compute_name'
store=True
size_x
Integer
required=True
args: 'X size'
size_y
Integer
required=True
args: 'Y size'
get_or_create_thumbnails(self, *images: <expr>, sizes: <expr>, base_name: str='') -> <expr>
get_thumbnails(self, *images: <expr>, base_name: str='') -> <expr>
No new fields.
Public methods (0)No public methods.
thumbnail_ids
One2many → fs.thumbnail
comodel_name='fs.thumbnail'
inverse_name='attachment_id'
readonly=True
string='Thumbnails'
No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/storage |
| GIT | |
| GIT | https://github.com/OCA/storage.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/storage/tree/16.0/fs_image_thumbnail |
| VERSION | |
| VERSION | 1.0.3 |
| CATEGORY | |
| CATEGORY | Uncategorized |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), ACSONE SA/NV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), ACSONE SA/NV |
| COMMITTERS | |
| COMMITTERS | Laurent Mignon (ACSONE), sbejaoui, Weblate, OCA-git-bot, oca-ci |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/storage |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:53:52 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/server-tools: - base_partition OCA/storage: - fs_image - fs_file - fs_attachment - fs_storage odoo/odoo: - base - base_sparse_field |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES |
python_slugify fsspec>=2025.3.0 fsspec>=2024.5.0 |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
fs_image_thumbnail_mixin_form_view |
fs.image.thumbnail.mixin.form (in fs_image_thumbnail) | fs.image.thumbnail.mixin | form | New |
fs_image_thumbnail_mixin_search_view |
fs.image.thumbnail.mixin.search (in fs_image_thumbnail) | fs.image.thumbnail.mixin | search | New |
fs_image_thumbnail_mixin_tree_view |
fs.image.thumbnail.mixin.tree (in fs_image_thumbnail) | fs.image.thumbnail.mixin | tree | New |
fs_thumbnail_form_view |
fs.thumbnail.form | fs.thumbnail | field | Inherits fs_image_thumbnail_mixin_form_view |
fs_thumbnail_search_view |
fs.thumbnail.search | fs.thumbnail | field | Inherits fs_image_thumbnail_mixin_search_view |
fs_thumbnail_tree_view |
fs.thumbnail.tree | fs.thumbnail | field | Inherits fs_image_thumbnail_mixin_tree_view |
ir_attachment_form_view |
ir.attachment.form (in fs_image_thumbnail) | ir.attachment | group | Inherits base.view_attachment_form |
attachment_id
Many2one → ir.attachment
comodel_name='ir.attachment'
help='Attachment containing the original image'
ondelete='cascade'
required=True
string='Attachment'
base_name
Char
help='The thumbnail image will be named as base_name + _ + size_x + _ + size_y + . + extension.\nIf not set, the base name will be the name of the original image.This base name is used to find all existing thumbnail of an image generated for the same base name.'
required=True
args: 'The base name of the thumbnail image (without extension)'
mimetype
Char
compute='_compute_mimetype'
store=True
name
Char
compute='_compute_name'
store=True
size_x
Integer
required=True
args: 'X size'
size_y
Integer
required=True
args: 'Y size'
get_or_create_thumbnails(self, *images: <expr>, sizes: <expr>, base_name: str='') -> <expr>
get_thumbnails(self, *images: <expr>, base_name: str='') -> <expr>
No new fields.
Public methods (0)No public methods.
thumbnail_ids
One2many → fs.thumbnail
comodel_name='fs.thumbnail'
inverse_name='attachment_id'
readonly=True
string='Thumbnails'
No public methods.