Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Document Page Approval

Entity: document.page

Compute Method: _compute_am_i_approver

Inputs Method Outputs
"""Check if the current user can approve changes to this page."""
for rec in self:
            rec.am_i_approver = rec.can_user_approve_this_page(self.env.user)

Back to entity