Import ClientFlow production v4928.1.5.132.4
This commit is contained in:
9
RELEASE_NOTES_v4928_1_5_120.md
Normal file
9
RELEASE_NOTES_v4928_1_5_120.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# v4.928.1.5.120 — delivered guard last-action invoice evidence
|
||||
|
||||
Hotfix for reconstructed opportunities where the detail page shows a completed SEND_INVOICE state but the delivered workflow guard cannot find the legacy task through `tasks.opportunity_id`.
|
||||
|
||||
Changes:
|
||||
- `workflow_guard.get_workflow_context()` now selects `last_action_code` and `last_task_id`.
|
||||
- Invoice task lookup also checks `opportunities.last_task_id`.
|
||||
- Adds a conservative fallback: `last_action_code=SEND_INVOICE` counts as invoice-sent evidence only when an invoice exists and no pending invoice-send task contradicts it.
|
||||
- Exposes `invoice_sent_last_action_evidence` in the workflow context for debugging.
|
||||
Reference in New Issue
Block a user