From 279c15509c867f3369d7656a1e77c0e0e43cb519 Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 28 Jun 2023 21:25:15 +1000 Subject: [PATCH] Pre fill location (#384) * Pre-fill the location when transferring stock * Update release notes --- assets/release_notes.md | 6 ++++++ lib/widget/stock_detail.dart | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/assets/release_notes.md b/assets/release_notes.md index eaa3c33b..b1155f07 100644 --- a/assets/release_notes.md +++ b/assets/release_notes.md @@ -1,3 +1,9 @@ +### 0.12.4 - +--- + +- Pre-fill stock location when transferring stock amount + + ### - 0.12.3 - June 2023 --- diff --git a/lib/widget/stock_detail.dart b/lib/widget/stock_detail.dart index 903d626f..c33c9578 100644 --- a/lib/widget/stock_detail.dart +++ b/lib/widget/stock_detail.dart @@ -544,7 +544,9 @@ class _StockItemDisplayState extends RefreshableState { "nested": true, "value": widget.item.quantity, }, - "location": {}, + "location": { + "value": widget.item.locationId, + }, "notes": {}, };