Repository navigation
feat(file-movement): unified file movement and barcode scanning for version-16 - #25
Conversation
…, and add to Operations sidebar
…d deduplicate invalid scan message
…flow is initiated
…and 'Incoming Cancelled' handling
Critical Findings & Required Changes1. Violations of Frappe Query Builder Rule (
|
…missions, roles, and dark mode
Summary of Changes
This PR implements the complete, end-to-end File Movement & Barcode Tracking system for Case Central (
version-16):Single Unified Scanner Field (
scan_barcode):Scan Outgoingduring dispatch, dynamically switches toScan Incomingduring return).No such Matter ID or Case exists: ...) with deduplication.Status Lifecycle & Audit Trail:
Draft-> Initial movement preparation.Taken Away(Orange) -> Saved & submitted; files out with receiver (linked Matter updates toWorking).Incoming Created(Blue) -> Created incoming session without files scanned yet.Missing Files(Red) -> Partially returned; remaining files listed in Missing Files table.Received(Green) -> All files returned; linked Matter resets toOpen.Incoming Cancelled(Dark Grey) -> Independent incoming cancellation preserving all traces.Cancelled(Red) -> Full movement cancellation with delete protection (on_trash).Independent Incoming Cancellation:
Cancel Incomingbutton cancels only the return workflow without cancelling or deleting the submitted movement.Re-open Incomingbutton to resume incoming return when ready.Operations Sidebar Placement:
Meeting Roomincasecentral/case_central/sidebar/operations/operations.json.Strict Scope:
operations.json.