mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-12 02:05:29 +00:00
Set default location for part
- Used as "default" when creating new StockItem for that part
This commit is contained in:
@ -395,7 +395,7 @@ class APIFormField {
|
||||
// Render a "related field" based on the "model" type
|
||||
|
||||
// Convert to JSON
|
||||
Map<String, dynamic> data = item as Map<String, dynamic>;
|
||||
var data = Map<String, dynamic>.from((item ?? {}) as Map);
|
||||
|
||||
switch (model) {
|
||||
case "part":
|
||||
|
Reference in New Issue
Block a user