TIP: You can type at any time to perform a new search.
Multiple images base
base_multi_image · OCA/server-tools
- Repository
- OCA/server-tools · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Tools
- Folder size
- 0.87 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/server-tools
- Last tracking update
- 2026-08-07 08:42:57
- Authors
- Odoo Community Association (OCA), Tecnativa, LasLabs, Antiun Ingeniería, S.L., Sodexis, Omal Bastin (O4ODOO)
- Maintainers
- Odoo Community Association (OCA), Tecnativa, LasLabs, Antiun Ingeniería, S.L., Sodexis, Omal Bastin (O4ODOO)
- Committers
- Weblate, OCA-git-bot, oca-ci, Bhavesh Heliconia
- Odoo dependencies
-
odoo/odoo:- base
- Python dependencies
- None
- System dependencies
- None
- Required by
- stock_lot_multi_image
- Description
This module extends the functionality of any model to support multiple images (a gallery) attached to it and allow you to manage them.
Code Analysis ⓘ
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
image_form_view |
Multi image form | base_multi_image.image | form | New |
image_kanban_view |
Product multi image kanban | base_multi_image.image | kanban | New |
image_tree_view |
Multi image tree | base_multi_image.image | list | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (16)
-
attachment_idMany2one → ir.attachmentdomain="[('index_content', '=', 'image')]"string='Image stored in Attachment' args: 'ir.attachment' -
attachment_imageImageargs: 'Image' -
commentsTexttranslate=True -
extensionCharreadonly=True args: 'File extension' -
file_db_storeBinaryattachment=False args: 'Image stored in database' -
filenameChar -
image_1920Imagecompute='_compute_image'max_height=1920max_width=1920store=False args: 'Full-sized image' -
nameChartranslate=True args: 'Image title' -
owner_idIntegerrequired=True args: 'Owner' -
owner_modelCharrequired=True -
owner_ref_idReferencecompute='_compute_owner_ref_id'selection='_selection_owner_ref_id'store=Truestring='Referenced Owner' -
pathCharhelp='Image path' args: 'Image path' -
sequenceIntegerdefault=10 -
show_technicalBooleancompute='_compute_show_technical' -
storageSelectiondefault='filestore'required=True args: [('url', 'URL'), ('file', 'OS file'), ('db', 'Database'), ('filestore', 'Filestore'), ('attachment', 'Attachment')] -
urlCharargs: 'Image remote URL'
No public methods.
New fields (2)
-
image_1920Imagecompute='_compute_multi_image'inverse='_inverse_multi_image_main'store=Falsestring='Main image' -
image_idsOne2many → base_multi_image.imagecomodel_name='base_multi_image.image'copy=Truedomain=<expr>inverse_name='owner_id'string='Images'
-
unlink(self)Mimic `ondelete="cascade"` for multi images. Will be skipped if ``env.context['bypass_image_removal']`` == True
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- no CI data
- Open since
- 680 days ago
- Last activity
- 667 days ago
- Repository
- OCA/server-tools
- Pull request
- [17.0][MIG] base_multi_image: Migration to 17.0 (#3063)
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 82 days ago
- Last activity
- 52 days ago
- Repository
- OCA/server-tools
- Pull request
- [19.0][MIG] base_multi_image (#3633)