Steps to Reproduce
- Activate Procurement Plugin with demo data.
- Navigate to proc_po.list, which will list all Purchase Orders.
- Select one that is either Ordered or Requested.
- Click the Delete UI action. A confirmation dialog appears. Click Delete to confirm.
The screen freezes, and the browser console reports error - Cannot read property destroy of undefined.
1. Click Cancel to close the dialog
2. Reload the form to see that the purchase order was deleted. Its line items will also be deleted as expected.
Related Problem: PRB652053