Server started 2026-09-08 06:32 UTC
2.0.11 (2026-08-21) =============================================================================== MCDC Stock — version 2.0.11 (2026-08-21) Short summary: • Welcome and password-reset emails now send from the configured Gmail account (previously a mismatched From address meant mail did not arrive). • Admin Reset password emails the temporary password even if Emailed is already ticked. • A forced password change can no longer be skipped by reopening login, using the menu, or opening admin. ------------------------------------------------------------------------------- 2.0.10 (2026-08-21) =============================================================================== MCDC Stock — version 2.0.10 (2026-08-21) Short summary: • Search inventory: barcode and reagent name fields no longer reject labelled barcodes (e.g. NGS-JKJM) or full reagent names; catalogue, supplier, lot, and PO search lengths match the stored data. • Barcode search matches both the labelled code (NGS-JKJM) and the short code (JKJM); autocomplete can fill the labelled value and still find the lot. • Search includes finished/closed lots by default (Include Finished Items? = YES). Open lots stay included unless you turn that off. • Edit Data → Edit users (superusers only) opens the Django user list for accounts and staff flags. • Admin user save and Reset password no longer error when a user has no password-reset row yet; missing ForceReset / login-security rows are created on save. • Note: migrations `0031_alter_internal_options` and `0032_alter_internal_batch_number` are required (barcode field length aligned with labelled LAB-XXXX codes). ------------------------------------------------------------------------------- 2.0.9 (2026-08-19) =============================================================================== MCDC Stock — version 2.0.9 (2026-08-19) Short summary: • Item page usage is a history, not a single current block. A Usage & attribution table sits under Date Received / Received By. • Opening is the first usage row; later Use item rows sit under it; Finish / Discard is the last row. Every usage is kept (dates plus project, process, experiment, consumers, notes, last updated, recorded by). • Use item records a new usage with a date; it no longer overwrites the previous attribution. Record usage under the table is the same form. • Existing lots are backfilled: earliest attribution is opening, later rows are uses, and a finish/discard row is added when the lot is already finished. • Item-page actions are written to that lot’s audit trail: open, use, finish/discard, validate, stock adjust, transfer request/decision (stored against the lot), label download, and reprint. • Note: migration `0030_usageattribution_event_history` is required. ------------------------------------------------------------------------------- 2.0.8 (2026-08-19) =============================================================================== MCDC Stock — version 2.0.8 (2026-08-19) Short summary: • Menus regrouped into Inventory, Procurement, Reports, and Edit Data; the plus menu is labelled Add. • Inventory: Dashboard, All, In Stock, Expiring Soon, Solutions, Validated, Not validated, Transfer Requests, Download label file; Recipes stay under Inventory for lab users. • Procurement: Tracker, Reorder forecast, Supplier performance; admins also have PO / receipts / invoice. • Reports: Inventory, Barcode lookup, Project, Experiment, Recharge billing; admins also have Role review export. • Add (admins) is only Inventory Item, Reagent, and Recipe. Lab users still have New Inventory Item. • Edit Data dictionaries (one line each): Supplier, Project, Process, Experiment, Internal consumer, External consumer, Storage location — each screen lists entries with Edit, Activate/Deactivate, and Add on the same page. Separate De/Activate commands for those lists are removed. • Edit Data still has Recipes, Edit Reagent, De/Activate Reagents, default supplier/storage/minimum tools, supplier approvals/catalogue, and System Mode / Continuity. • Removed from the menu (URLs still work): protocol picking, stocktake, List View, barcode scan, report catalog, stock report, downtime pack, items-to-order. ------------------------------------------------------------------------------- 2.0.7 (2026-08-18) =============================================================================== MCDC Stock — version 2.0.7 (2026-08-18) Short summary: • Operational dashboard is visual: metric cards show each count against its total (low stock, expiring ≤90 days, open-vial, not validated, transfers), plus stock-by-laboratory, open vs unopened, expiry profile, and recent receipts. • Analytics dashboard is folded into Inventory → Dashboard (`/stock/reports/analytics/` redirects there). • “Stock number” renamed to “Barcode” on search, item, lookup, and label forms; Search finds a barcode. • Download label file page explains it exports items booked in since the last download (not yet printed). ------------------------------------------------------------------------------- 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