Skip to content
Health
32/100
poor
  • Security22/25
    1 minor finding
  • Activity0/25
    Last human commit 40 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 14.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.04 MB
Module directory on disk
Code analysis 1 migration note 2 models 0 views 0 HTTP endpoints

Description

Dependencies

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

Code analysis

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

Views touched 0

No views found for this module.

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (0)

No new fields.

Public methods (2)
  • force_storage(self)
    @api.model
  • force_storage_by_checksum(self)
    @api.model
    Copy all the attachments to `Attachment content by hash`.

New fields (2)
  • checksum Char
    help='Checksum in the shape 2a/2a...\n' index=True readonly=True required=True string='Checksum/SHA1'
  • db_datas Binary
    attachment=False string='Database Data'
Public methods (1)
  • search_by_checksum(self, fname)
    Get Attachment content, searching by `fname`. Note that `fname` is the relative path of the attachment as it would be saved by the core, for example 2a/2a..., this is the same value that we store in field `ir.attachment.content.checksum`.