mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Set default location for part
- Used as "default" when creating new StockItem for that part
This commit is contained in:
parent
baa197c68c
commit
cbb668687e
3 changed files with 12 additions and 4 deletions
|
|
@ -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":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue