odoo_c2c/docs/testing/UAT_SCRIPTS.md

46 lines
3.1 KiB
Markdown

# C2C User Acceptance Testing (UAT) Scripts
Welcome to the C2C Odoo ERP User Acceptance Testing manual.
Please follow each script chronologically. Testers should mark Pass/Fail for each action.
## UAT Script 1: Basic Procurement & Quality Control
**Goal**: Verify receipt of raw materials properly enforces lot creation and expiry dates.
| Step | Action | Expected Result | Pass/Fail |
|---|---|---|---|
| 1.1 | Login as **Purchase Officer** to `C2C Agricorp`. Create PO for `100kg Raw Jasmine`. | PO is saved successfully in Draft. | [ ] |
| 1.2 | Confirm PO. Open standard Receipt from the PO. | Receipt automatically targets `WH/Stock`. | [ ] |
| 1.3 | Click "Detailed Operations" icon on the Jasmine line. Enter `LOT-TEST-001` and an Expiry Date. | Odoo demands matching quantities. Date is saved. | [ ] |
| 1.4 | Validate Receipt. | Stock 100kg moved to `WH/Stock`, Accounting Journal Entry drafted. | [ ] |
| 1.5 | Create an Internal Transfer to `QC Hold`. Validate. | Goods arrive in QC Hold waiting for inspection. | [ ] |
## UAT Script 2: Multi-Output Manufacturing & Yield Report
**Goal**: Ensure BOMs can create 2 distinct products at the end of production, while calculating accurate Yield metrics.
| Step | Action | Expected Result | Pass/Fail |
|---|---|---|---|
| 2.1 | Login as **Manufacturing Manager**. Go to MRP > Products > BOM. | The `Output Products` custom tab is visible. | [ ] |
| 2.2 | Create BOM for `500g Rose Pack`. Add Primary (200 units). Add Components (`100kg Raw Roses`). Add Output Product (`Rose Stems` x 10). | BOM saves successfully. | [ ] |
| 2.3 | Create a Manufacturing Order from this BOM. Confirm. | The `Additional Outputs` tab automatically populated with `Rose Stems` x 10. | [ ] |
| 2.4 | Click "Produce All" / Mark As Done. Apply a lot number. | MO validates. **2 separate Stock Moves** were created to Finished Goods. | [ ] |
| 2.5 | Go to MRP > Reporting > Yield & Wastage. | A new row exists for this MO showing the exact Yield %. | [ ] |
## UAT Script 3: Intercompany PO/SO Sync & Auto-Invoicing
**Goal**: Verify that Clickstocart Inc buying from C2C Imports triggers automated intercompany execution.
| Step | Action | Expected Result | Pass/Fail |
|---|---|---|---|
| 3.1 | Switch to `Clickstocart Inc US`. Create a PO vendor = `C2C Imports`. | PO is in Draft state. | [ ] |
| 3.2 | Click Confirm Order. | PO goes to Locked/Confirmed. | [ ] |
| 3.3 | Switch to `C2C Imports & Exports`. Open Sales. | A new SO exists instantly matching the PO details. | [ ] |
| 3.4 | Confirm SO. Deliver all goods via the Delivery smart button. Validate. | Delivery completes successfully. | [ ] |
| 3.5 | Switch back to `Clickstocart Inc US`. Check the PO. | The Receipt is magically marked as Done. Vendor Bill drafted. | [ ] |
## UAT Script 4: Repack Wizard Conversions
**Goal**: Convert bulk UoM to retail UoM directly.
| Step | Action | Expected Result | Pass/Fail |
|---|---|---|---|
| 4.1 | As **Warehouse Staff**, go to Inventory > Operations > Repack Orders. | Custom wizard opens. | [ ] |
| 4.2 | Set Source = `10kg Bulk Turmeric`. Set Dest = `100 Units of 100g Packs`. Confirm. | 10kg removed from Inventory. 100 units added. Lot traceability preserved. | [ ] |