| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Inventory (stock) |
| Lines of code | 140 |
| Technical Name |
codex_scrap_approvals |
| License | LGPL-3 |
Scrap Approval With Notification
Key Features
Request Manager Approval
Initiate the approval process with a single click on "To Manager Approval" button, which changes the scrap order state to "Waiting Manager Approval".
Role-Based Approval Permissions
Only users with "Scrap Manager Approver" permission enabled in their user settings can approve scrap orders, ensuring proper authorization control.
Activity-Based Approval Interface
Managers receive automatic activities/notifications for pending scrap approvals. Directly approve or reject from the activity feed with a single click.
Complete Audit Trail
Track every approval action with timestamps, user information, and approval/rejection reasons. Full history of state changes from draft to final decision.
Reset to Draft Functionality
Easy workflow reset with dedicated "Reset to Draft" button. Allows corrections and re-submissions when needed without creating new records.
Enforced Validation Rules
Scrap orders cannot be validated without manager approval. The Validate button only becomes visible to authorized approvers after approval is granted.
Detailed Usage Guide
This module implements a comprehensive multi-step approval workflow for Odoo's scrap management system. After installation, scrap orders follow a structured approval process to ensure proper oversight and control over inventory write-offs.
Workflow Overview:
Submit for Approval
User creates scrap order and clicks "To Manager Approval" button, changing state to "Waiting Manager Approval"
Manager Notification
Automatic activity creation notifies designated managers. Approval request appears in their activity feed for immediate review.
Review & Decision
Manager with "Scrap Manager Approver" permission reviews the scrap order and can Approve, Reject, or Reset to Draft directly from the activity or scrap form.
Final Action
Upon approval, Validate button becomes visible for authorized users to complete the scrap process. All actions are logged in the audit trail with timestamps.
The approval system is strictly role-based â only users explicitly granted approver rights in their user settings can see and use the approval/validation buttons. This ensures proper oversight while maintaining efficient workflow for authorized personnel.
Key Benefits: Prevents unauthorized inventory write-offs, maintains clear audit trails, enables quick approval/rejection decisions, and provides flexibility with reset-to-draft functionality when corrections are needed.
Configuration & Threshold Setup
Enable the approval workflow from Accounting Settings and define the Threshold Amount. When activated, the standard Post button is hidden and replaced by Request Approval, enforcing mandatory validation chains before any invoice or refund can be posted.
Role-Based Access Control
Assign users to specific approval groups: Support Approver, Accounting Approver, General Approver, Payment Validator 1, and Payment Validator 2. Each group carries distinct authorization limits enforced at the code level.
Workflow Initiation
In draft state, users must click Request Approval to submit documents for validation. The system evaluates document type and amount to determine routing: vendor bills go to Payment Validators, while customer invoices and refunds route based on the threshold setting.
Intelligent Amount-Based Routing
Documents automatically route to appropriate approvers based on value. Amounts below threshold await Support or Accounting approval, while high-value documents require General Manager authorization. Approve and Reject buttons appear only for authorized users.
Vendor Bill Two-Step Validation
Vendor bills follow a dedicated chain through Payment Validator 1 then Payment Validator 2. Validator 1 forwards the bill, Validator 2 performs final authorization. Upon final approval, the system automatically posts the bill and creates journal entries.
Strict Authorization Enforcement
Unauthorized users attempting to approve receive immediate ValidationError messages. Authorized approvers see contextual Approve and Reject buttons. Clicking Reject instantly returns the document to draft state for corrections.
Why Choose Scrap Approval Module?
Automatic Approval Activity Creation
When a scrap order enters "Waiting Manager Approval" state, the module automatically creates a "To Do" activity for designated approvers.
Seamless Stock Module Integration
Extends Odoo's native Stock/Inventory module with approval workflow - no complex setup or additional screens required.
Instant Visibility in Activity Feed
Approvers can see all pending scrap approvals directly from the Activities menu and access scrap orders with one click.
Direct Access from Notification
Clicking the activity notification takes approvers directly to the scrap order requiring review, eliminating navigation delays.
Smart Activity Management
Activities are automatically cleared when scrap orders are approved, rejected, or reset to draft, keeping the activity feed clean.
Role-Based Approval Permissions
Notifications are sent only to users with "Scrap Manager Approver" permission, ensuring proper authorization control.
Enhanced Security & Control
The module prevents unauthorized inventory write-offs by enforcing mandatory managerial approval before scrap validation. Complete audit trail tracking ensures accountability for all approval decisions.
Ready to Secure Your Scrap Process?
Take control of your inventory write-offs with a simple yet effective approval workflow. Prevent unauthorized scrap operations by requiring manager approval before validation. With just one click, scrap orders enter approval queue, and only designated approvers can proceed with validation. Install now to add an essential layer of control and accountability to your scrap management process.
Frequently Asked Questions
How do I enable someone to approve scrap orders?
Go to User Settings and enable the "Scrap Manager Approver" checkbox for the users who should have approval rights. Only these users will see the Validate button on scrap orders.
What happens when I click "To Manager Approval"?
The scrap order changes state from "Draft" to "Waiting Manager Approval". It remains in this state until a user with approver rights reviews and approves it for validation.
Can I validate a scrap order without approval?
No. The module enforces that scrap orders must go through the approval process. The Validate button is only visible to users with "Scrap Manager Approver" permission enabled.
What if no users have the approver permission enabled?
Scrap orders will remain in "Waiting Manager Approval" state indefinitely until at least one user is granted approver rights. The system administrator must enable the permission for appropriate users.
Does this module change the standard scrap workflow?
It enhances the workflow by adding a mandatory approval step before validation. The core scrap functionality remains unchanged, but now requires manager approval for accountability.
Need Support?
Our dedicated support team is here to help you with installation, configuration, and any questions you may have about the Scrap Approval Management.
| hello@code-experts.co |
+973 1722 4488
|
WhatsApp: +973 1722 4488
|
www.code-experts.co
|
© 2026 Code Experts IT Solutions. All Rights Reserved.
Please log in to comment on this module