2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-07-13 09:01:19 +00:00
This commit is contained in:
Oliver
2021-07-26 17:28:16 +10:00
parent d07b704014
commit 2bdadc2140
6 changed files with 15 additions and 47 deletions

View File

@ -476,14 +476,7 @@ class InvenTreeStockItem extends InvenTreeModel {
expectedStatusCode: 200
);
print("Adjustment completed!");
if (response == null) {
return false;
}
// Stock adjustment succeeded!
return true;
return response.isValid();
}
Future<bool> countStock(BuildContext context, double q, {String? notes}) async {