diff --git a/assets/release_notes.md b/assets/release_notes.md index 6e49372..827b32c 100644 --- a/assets/release_notes.md +++ b/assets/release_notes.md @@ -7,6 +7,7 @@ - Add ability to create new Part Categories - Add ability to create new Parts - Add ability to create new Stock Locations +- Add ability to create new Stock Items - App bar now always displays "back" button - Display "batch code" information for stock item - Display "packaging" information for stock item diff --git a/lib/api_form.dart b/lib/api_form.dart index 624c6e7..29ce566 100644 --- a/lib/api_form.dart +++ b/lib/api_form.dart @@ -340,7 +340,7 @@ class APIFormField { part.description, style: TextStyle(fontWeight: selected ? FontWeight.bold : FontWeight.normal), ) : null, - leading: extended ? InvenTreeAPI().getImage(part.thumbnail, width: 32, height: 32) : null, + leading: extended ? InvenTreeAPI().getImage(part.thumbnail, width: 40, height: 40) : null, ); case "partcategory": diff --git a/lib/inventree/stock.dart b/lib/inventree/stock.dart index f1dd773..ac03a1f 100644 --- a/lib/inventree/stock.dart +++ b/lib/inventree/stock.dart @@ -113,8 +113,11 @@ class InvenTreeStockItem extends InvenTreeModel { return { "part": {}, "location": {}, - "status": {}, "quantity": {}, + "status": {}, + "batch": {}, + "packaging": {}, + "link": {}, }; }