TIP: You can type at any time to perform a new search.
Attachment locking
attachment_lock · OCA/knowledge
- Repository
- OCA/knowledge · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Knowledge Management
- Folder size
- 0.02 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
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- document_wopi
- Description
Code Analysis ⓘ
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_lockBooleancompute='_compute_locked' -
lock_idsOne2many → ir.attachment.lockargs: 'ir.attachment.lock', 'attachment_id', 'Locks' -
lockedBooleancompute='_compute_locked'
-
lock(self, lock_type='exclusive', valid_until=None, data=None)@api.multi -
unlock(self)@api.multi
New fields (6)
-
applicationSelectiondefault='manual'required=True args: [('manual', 'Manual lock')] -
attachment_idMany2one → ir.attachmentindex=Truerequired=True args: 'ir.attachment', 'Attachment' -
create_uidMany2one → res.usersdefault=<expr>required=True args: 'res.users', 'User' -
lock_typeSelectiondefault='shared'required=Truestring='Type' args: [('exclusive', 'Exclusive'), ('shared', 'Shared')] -
shared_user_idsMany2many → res.usersargs: 'res.users' -
valid_untilDatetimedefault=fields.Datetime.to_string(<expr>)required=True
No public methods.