Skip to content
Health
45/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 104 months ago
  • Required by15/25
    1 module depends on it
  • Maturity5/25
    In 1 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.02 MB
Module directory on disk
Code analysis 7 migration notes 2 models 3 views 0 HTTP endpoints

Description

Dependencies

Odoo dependencies
OCA/knowledge:
odoo/odoo:
- web
Python dependencies
None
System dependencies
None
Required by
document_wopi

Code analysis

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

Views touched 3

XML IDNameModelTypeStatus
assets_backend attachment_lock assets ir.ui.view qweb Inherits web.assets_backend
view_ir_attachment_lock_form ir.attachment.lock form New
view_ir_attachment_lock_tree ir.attachment.lock tree New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (3)
  • can_lock Boolean
    compute='_compute_locked'
  • lock_ids One2many → ir.attachment.lock
    args: 'ir.attachment.lock', 'attachment_id', 'Locks'
  • locked Boolean
    compute='_compute_locked'
Public methods (2)
  • lock(self, lock_type='exclusive', valid_until=None, data=None)
    @api.multi
  • unlock(self)
    @api.multi

New fields (6)
  • application Selection
    default='manual' required=True args: [('manual', 'Manual lock')]
  • attachment_id Many2one → ir.attachment
    index=True required=True args: 'ir.attachment', 'Attachment'
  • create_uid Many2one → res.users
    default=<expr> required=True args: 'res.users', 'User'
  • lock_type Selection
    default='shared' required=True string='Type' args: [('exclusive', 'Exclusive'), ('shared', 'Shared')]
  • shared_user_ids Many2many → res.users
    args: 'res.users'
  • valid_until Datetime
    default=fields.Datetime.to_string(<expr>) required=True
Public methods (0)

No public methods.