TIP: You can type at any time to perform a new search.
Document Page Approval
document_page_approval · OCA/knowledge
- Repository
- OCA/knowledge · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Knowledge Management
- Folder size
- 1.33 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/knowledge
- Last tracking update
- 2026-08-07 09:06:26
- Authors
- Savoir-faire Linux, Odoo Community Association (OCA)
- Maintainers
- Savoir-faire Linux, Odoo Community Association (OCA)
- Committers
- Weblate, OCA-git-bot, oca-ci, Bhavesh Heliconia
Code Analysis ⓘ
Views touched (7)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_category_form_inherit |
document.page.category.form | document.page | form | Inherits document_page.view_category_form |
view_wiki_history_filter |
document.page.history.search | document.page.history | search | Inherits document_page.view_wiki_history_filter |
view_wiki_history_tree_inherit |
document.page.history.tree | document.page.history | list | Inherits document_page.view_wiki_history_tree |
view_wiki_menu_form_inherit |
document.page.form | document.page | form | Inherits document_page.view_wiki_menu_form |
wiki_form_inherit |
document.page.form | document.page | form | Inherits document_page.view_wiki_form |
wiki_history_form_inherit |
document.page.history.form | document.page.history | form | Inherits document_page.wiki_history_form |
wiki_history_form_inherit_manager |
document.page.history.form | document.page.history | form | Inherits wiki_history_form_inherit |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (10)
-
am_i_approverBooleancompute='_compute_am_i_approver' -
approval_requiredBooleanhelp='Require approval for changes on this page or its child pages.' args: 'Require approval' -
approved_dateDatetimeindex=Truerelated='history_head.approved_date'store=True args: 'Approved Date' -
approved_uidMany2one → res.usersindex=Truerelated='history_head.approved_uid'store=True args: 'res.users', 'Approved by' -
approver_gidMany2one → res.groupshelp='Users must also belong to the Approvers group' args: 'res.groups', 'Approver group' -
approver_group_idsMany2many → res.groupscompute='_compute_approver_group_ids'help='Groups that can approve changes to this document'recursive=Truestring='Approver groups' args: 'res.groups' -
has_changes_pending_approvalBooleancompute='_compute_has_changes_pending_approval'string='Has changes pending approval' -
history_idsOne2manydomain=[('state', '=', 'approved')] -
is_approval_requiredBooleancompute='_compute_is_approval_required'help='If true, changes of this page require approval'recursive=True args: 'Approval required' -
user_has_draftsBooleancompute='_compute_user_has_drafts'string='User has drafts?'
-
action_changes_pending_approval(self) -
can_user_approve_this_page(self, user)Check if a user can approve this page.
New fields (7)
-
am_i_approverBooleanrelated='page_id.am_i_approver'related_sudo=False -
am_i_ownerBooleancompute='_compute_am_i_owner' -
approved_dateDatetime -
approved_uidMany2one → res.usersargs: 'res.users', 'Approved by' -
is_approval_requiredBooleanrelated='page_id.is_approval_required'string='Approval required' -
page_urlTextcompute='_compute_page_url'string='URL' -
stateSelectiondefault='draft'readonly=True args: [('draft', 'Draft'), ('to approve', 'Pending Approval'), ('approved', 'Approved'), ('cancelled', 'Cancelled')], 'Status'
-
action_approve(self)Set a change request as approved. -
action_cancel(self)Set a change request as cancelled. -
action_cancel_and_draft(self)Set a change request as draft, cancelling it first -
action_draft(self)Set a change request as draft -
action_to_approve(self)Set a change request as to approve
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…