TIP: You can type at any time to perform a new search.
WOPI
document_wopi · OCA/knowledge
- Repository
- OCA/knowledge · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Knowledge Management
- Folder size
- 0.13 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- None
- Last tracking update
- 2026-08-07 07:03:08
- Authors
- Odoo Community Association (OCA), Therp BV
- Maintainers
- Odoo Community Association (OCA), Therp BV
- Committers
- Holger Brunn
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/wopi/files/<model("ir.attachment"):attachment> |
WopiEndpoints.files |
public | http | ALL | |
/wopi/files/<model("ir.attachment"):attachment>/contents |
WopiEndpoints.files_contents |
public | http | ALL |
Models touched (3)
New fields (0)
No new fields.
Public methods (1)-
get_access_token(self, attachment_id)@api.modelReturn an access token to pass to the WOPI client. Make sure the user in question can access the resource
New fields (6)
-
action_urlCharcompute='_compute_action_url' -
attachment_idMany2one → ir.attachmentondelete='cascade'required=True args: 'ir.attachment', 'Attachment' -
tokenCharrequired=True -
token_ttlIntegercompute='_compute_token_ttl' -
user_idMany2one → res.usersondelete='cascade'required=True args: 'res.users', 'User' -
valid_untilDatetime
No public methods.
New fields (1)
-
document_wopi_clientChardefault=<expr>required=True args: 'WOPI client'
-
set_document_wopi_client(self)@api.multi