Overview
Business documents often need sign-off from managers before an action happens. This module extends the Approvals app with approval rules that bind a model and a method to an approval category. Records that use the approvals mixin show Request Approvals buttons and lock until approved. It is used by administrators to define rules and by managers to approve, and plugs into Approvals and Automation.
Usage steps
- 1
Configure the approval category
Open an approval category. The Automation group adds Automatic Confirmation, notification options and groups or partners to notify on approval. Approvers can be users or groups.
- Automatic Confirmation
- Notify on approval
- Approvers by user or group
- 2
Define approval rules
Under Approvals > Approval Rules add an editable row with a name, category, model and method. Only models that use the approvals mixin are allowed.
- Name and category
- Model and method
- Create Approval flag
- 3
Validation of rules
The system checks that the model supports approvals and that the method exists, and refuses inconsistent rules with a clear error.
- Unsupported model raises an error
- Missing method raises an error
- 4
Request approvals from a record
A Request Approvals button appears on the record. It creates approval requests linked to the record, and a smart button shows their count.
- Button: Request Approvals
- Smart button of approvals
- Record locks until approved
- 5
Approve or refuse
Approvers review requests from Approvals to Review and approve or refuse. Manager approval checks the employee manager link.
- Approve or Refuse buttons
- Manager must be linked
- Minimum approvers enforced
- 6
Open the source record
The request form shows a Record button to open the document that raised it.
- Button: Record
- Uses res_model and res_id
- 7
Bypass for super users
Users in the Super group can bypass approval on any record. Administrators are added to that group automatically.
- Group: Super
- Bypass without approval
Screens
Illustrative mockups with placeholder data.
—
Added by this module
—
Added by this module
—
Added by this module
—
Added by this module
Roles
| Role |
|---|
| Administrator |
| Approver / manager |
| Requester |
Dependencies
Want to know more or try this app? Contact us
We can arrange a demo or a trial and answer your questions about Approvals Base.
