| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/knowledge |
| GIT | |
| GIT | https://github.com/OCA/knowledge.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/knowledge/tree/8.0/attachment_lock |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Knowledge Management |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Therp BV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Therp BV |
| COMMITTERS | |
| COMMITTERS | Holger Brunn |
| WEBSITE | |
| WEBSITE | |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:11:24 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/knowledge: - attachment_action odoo/odoo: - web - base - knowledge - base_setup - web_kanban - document |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| 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 |
can_lock
Boolean
compute='_compute_locked'
lock_ids
One2many → ir.attachment.lock
locked
Boolean
compute='_compute_locked'
lock(self, lock_type='exclusive', valid_until=None, data=None)
unlock(self)
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
valid_until
Datetime
default=fields.Datetime.to_string(<expr>)
required=True
No public methods.