MODULES / OPERATIONS
Product Approval
Review product master data before it can be used in sales, purchases, invoices or inventory.
Overview
| Module id | ask_product_approval |
|---|---|
| Version | 1.0.0 |
| Who uses it | Anyone who uses the screens listed below. |
| Installed | On demand, from Settings → Modules. Anything it needs is installed with it. |
How it links to other modules
- Needs: Invoicing, Vendor Bills, Inventory
- Works better with: no other module in particular
- Needed by: no other module
A module that is needed cannot be turned off while the module that needs it is on.
Details
Product Approval
ASKERP adaptation of Sparkosol's Odoo 18 eg_approve_product module. While installed, new catalogue products remain pending until a member with Sales posting authority approves them. A rejection requires a reason. Approvals are bound to a deterministic hash of the product's commercial and accounting data, including FBR product fields when present. Editing material fields makes the effective state pending again without removing earlier audit decisions.
Sales orders, quotations, invoices and vendor bills, purchase orders, stock movements, and new manufacturing definitions check approval in their shared server services. Credit notes, physical returns and already-created production orders remain usable to complete existing business commitments. Products that predate first installation remain approved; data and audit history are preserved when the optional module is disabled.
The addon hard-depends on Sales, Purchase and Inventory; Sales brings in the required Accounting module. Migration: 0114_product_approval.sql.
Tests: npx vitest run addons/ask_product_approval/addon.test.ts lib/modules.test.ts.