mirror of
https://github.com/inventree/inventree-app.git
synced 2026-11-22 21:56:06 +00:00
Refactor stock adjustment functions
- Provide compatibility with "modern" and "legacy" API versions
This commit is contained in:
1 parent
7c3698beba
commit
5d0ffa059d
3 files changed
+48
-18
No files matched your search
@@ -383,7 +383,7 @@ class _StockItemDisplayState extends RefreshableState<StockDetailWidget> {
|
||||
_quantityController.clear();
|
||||
_notesController.clear();
|
||||
|
||||
var result = await item.transferStock(locationId, quantity: quantity, notes: notes);
|
||||
var result = await item.transferStock(context, locationId, quantity: quantity, notes: notes);
|
||||
|
||||
refresh();
|
||||
|
||||
|
||||
Reference in new issue
Block a user