Skip to content
Health
85/100
good
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 8 months ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 8 Odoo series since 8.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
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.88 MB
Module directory on disk
Code analysis 1 migration note 2 models 3 views 0 HTTP endpoints

Description

This module extends the functionality of any model to support multiple images (a gallery) attached to it and allow you to manage them.

Dependencies

Odoo dependencies
odoo/odoo:
Python dependencies
None
System dependencies
None
Required by
stock_lot_multi_image

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 3

XML IDNameModelTypeStatus
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_id Many2one → ir.attachment
    domain="[('index_content', '=', 'image')]" string='Image stored in Attachment' args: 'ir.attachment'
  • attachment_image Image
    args: 'Image'
  • comments Text
    translate=True
  • extension Char
    readonly=True args: 'File extension'
  • file_db_store Binary
    attachment=False args: 'Image stored in database'
  • filename Char
  • image_1920 Image
    compute='_compute_image' max_height=1920 max_width=1920 store=False args: 'Full-sized image'
  • name Char
    translate=True args: 'Image title'
  • owner_id Integer
    required=True args: 'Owner'
  • owner_model Char
    required=True
  • owner_ref_id Reference
    compute='_compute_owner_ref_id' selection='_selection_owner_ref_id' store=True string='Referenced Owner'
  • path Char
    help='Image path' args: 'Image path'
  • sequence Integer
    default=10
  • show_technical Boolean
    compute='_compute_show_technical'
  • storage Selection
    default='filestore' required=True args: [('url', 'URL'), ('file', 'OS file'), ('db', 'Database'), ('filestore', 'Filestore'), ('attachment', 'Attachment')]
  • url Char
    args: 'Image remote URL'
Public methods (0)

No public methods.

New fields (2)
  • image_1920 Image
    compute='_compute_multi_image' inverse='_inverse_multi_image_main' store=False string='Main image'
  • image_ids One2many → base_multi_image.image
    comodel_name='base_multi_image.image' copy=True domain=<expr> inverse_name='owner_id' string='Images'
Public methods (1)
  • 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…

Loading…