Skip to content
Health
35/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 105 months ago
  • Required by5/25
    0 modules depend 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
0
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.13 MB
Module directory on disk
Code analysis 7 migration notes 3 models 2 views 2 HTTP endpoints

Description

Dependencies

Odoo dependencies
OCA/knowledge:
odoo/odoo:
- web
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 2

XML IDNameModelTypeStatus
assets_backend document_wopi assets ir.ui.view qweb Inherits web.assets_backend
view_knowledge_configuration knowledge.config.settings Inherits knowledge.view_knowledge_configuration

HTTP endpoints 2

Route(s)HandlerAuthTypeMethodsFlags
/wopi/files/<model("ir.attachment"):attachment> WopiEndpoints.files public http ALL sudo
/wopi/files/<model("ir.attachment"):attachment>/contents WopiEndpoints.files_contents public http ALL sudo

Models touched 3

New fields (0)

No new fields.

Public methods (1)
  • get_access_token(self, attachment_id)
    @api.model
    Return an access token to pass to the WOPI client. Make sure the user in question can access the resource

New fields (6)
  • action_url Char
    compute='_compute_action_url'
  • attachment_id Many2one → ir.attachment
    ondelete='cascade' required=True args: 'ir.attachment', 'Attachment'
  • token Char
    required=True
  • token_ttl Integer
    compute='_compute_token_ttl'
  • user_id Many2one → res.users
    ondelete='cascade' required=True args: 'res.users', 'User'
  • valid_until Datetime
Public methods (0)

No public methods.

New fields (1)
  • document_wopi_client Char
    default=<expr> required=True args: 'WOPI client'
Public methods (1)
  • set_document_wopi_client(self)
    @api.multi