Server started 2026-07-20 14:32 UTC
2.0.6 (2026-07-20) =============================================================================== MCDC Stock — version 2.0.6 (2026-07-20) Short summary: • Search page suggestions: as you type in Stock Number, Reagent Name, Catalogue Number, Supplier, Lot Number, or Purchase Order, the form now shows matching values in a dropdown. • Closest-match fallback: when there is no exact match, the suggestions API ranks and shows the nearest values using prefix, contains, and fuzzy matching. • Suggestions respect the current laboratory inventory scope and can be selected by mouse or keyboard. • Search suggestions endpoint: `/stock/search/suggestions/`. • Procurement tracker UX: removed the “Not ordered yet” / “Ordered, not received” filter checkboxes; status filtering now uses the Status dropdown (including a new “Not needed” status). • Needs ordering differentiation: low-stock sync marks rows as “Needs ordering (oos)”; expired-stock sync marks rows as “Needs ordering (exp)” (manual rows stay “Needs ordering”). • Bulk actions: select rows and run “Mark as not needed” or “Copy selected” (duplicates as new pending orders without PO/receiving references). • Edit protection: once ordered, entry fields are locked until order details (ordered date / PO / requisition) are cleared; once received data is entered, ordered dates and details are locked until received fields are cleared. • Refresh expired-stock rows: adds pending tracker lines for reagents with inventory expiring within 90 days or already expired (alongside existing low-stock refresh). • Procurement bulk endpoint: `POST /stock/reports/procurement/bulk/`. • Note: migrations `0028_procurementneed_not_needed_status` and `0029_procurementneed_need_kind` are required. ------------------------------------------------------------------------------- 2.0.5 (2026-07-16) =============================================================================== MCDC Stock — version 2.0.5 (2026-07-16) Short summary: • Fix: creating an in-house solution (`/stock/createnewsol/`) no longer raises `KeyError: 'lot_no'`. `Inventory.create` defaults missing `lot_no`, and audit logging records the lot numbers actually assigned (stock number when empty). • `Solutions.create` now passes an empty `lot_no` explicitly so solution receipts follow the same path. • Migration `0027_alter_procurementneed_status`: aligns procurement need status choice labels with the tracker (“Needs ordering”, “Items ordered”, “Items received”). • Regression test: `test_solution_create_lot_no`. ------------------------------------------------------------------------------- 2.0.4 (2026-07-09) =============================================================================== MCDC Stock — version 2.0.4 (2026-07-09) Short summary: • Inventory reports and stock reports now include Supplier Catalogue Number (`reagent.cat_no`) on item export rows (URS-XX1). • Barcode batch lookup (Reports): paste or upload stock numbers; view all matches in one table within laboratory scope (URS-XX2). • Batch export: selectable columns; download PDF, Excel, or CSV with barcode, reagent, supplier, catalogue #, lot, dates, storage, and status (URS-XX3). • Reagent Usage Log (PDF): printable log from the batch lookup results for experiment documentation, with optional experiment reference (URS-XX4). ------------------------------------------------------------------------------- 2.0.3 (2026-07-09) =============================================================================== MCDC Stock — version 2.0.3 (2026-07-09) Short summary: • Procurement tracker (Reports): single spreadsheet-style grid replaces the separate planner form and planner queue screens; edit all fields inline with dropdowns, date pickers, and text cells. • Row colours: white = needs ordering, amber = ordered, green = received; status is derived automatically from requisition, PO, dates, and received quantity. • Auto-populate: low-stock reagents are added to the tracker on open (and via “Refresh low-stock rows”); filters and column sorting included. • New planner fields: procurement route (R12 / Manual PO / Other), person ordering, date ordered, date received, quantity received; Manual PO no longer requires an R12 requisition. • Audited cell saves via `/stock/reports/procurement/save/`; CSV export updated; legacy planner queue / add / edit URLs redirect to the tracker. • Note: database migration `0026_procurement_need_tracker_fields` is required. ------------------------------------------------------------------------------- 2.0.2 (2026-06-16) =============================================================================== MCDC Stock — version 2.0.2 (2026-06-16) Short summary: • Experiment report added (Reports menu and catalog): select an experiment and export stock as PDF or XLSX (attributed at open or used in usage records). • Procurement planner queue (Edit Data): separate list, add, and edit screens for planner lines; status workflow Needs ordering → Items ordered (R12 requisition) → Items received (PO reference). • Procurement control: edit and remove PO lines and goods receipt lines on dedicated screens; receipt linking updates received quantities and PO fulfilment status; removal blocked when inventory is linked. ------------------------------------------------------------------------------- 2.0.1 (2026-06-01) =============================================================================== MCDC Stock — version 2.0.1 (2026-06-01) Short summary: • Add controlled storage-location adjustments: `storage_before` / `storage_after` fields and `storage` adjustment kind. • UI and form support for changing storage location from the item adjustment form. • Safety: validation to require one change at a time and improved help text. • Backend: `apply_stock_adjustment` handles storage updates and audit logging; adjustment log now selects related storage objects. • Search: add `cat_no` (catalogue number) search support. • Note: a database migration is required to add the new `storage_before` / `storage_after` columns. ------------------------------------------------------------------------------- 2.0.0 (2026-05-22) =============================================================================== MCDC Stock — version 2.0.0 (2026-05-22) Topics in this release: • Laboratory-based access (an admin can assign one or multiple laboratories to a user) • Shared/global stock concepts (a lab attribute for a reagent or item) • Actor versus consumer attribution (experiment names and consumers can be added) • Barcode-driven stock workflows • FEFO / oldest-lot-first handling (warnings when newer lots are opened before older lots are opened) • Open-vial handling • Storage-condition modelling • Expanded validation workflows • Procurement planning and supplier metadata • Audit and traceability flows