mirror of
https://github.com/inventree/inventree-app.git
synced 2026-10-06 15:22:07 +00:00
Create a new stock location
This commit is contained in:
1 parent
0d11af002b
commit
76c0ab3d7f
3 files changed
+51
-9
No files matched your search
@@ -548,6 +548,15 @@ class InvenTreeStockLocation extends InvenTreeModel {
|
||||
|
||||
String get pathstring => jsondata['pathstring'] ?? '';
|
||||
|
||||
@override
|
||||
Map<String, dynamic> formFields() {
|
||||
return {
|
||||
"name": {},
|
||||
"description": {},
|
||||
"parent": {},
|
||||
};
|
||||
}
|
||||
|
||||
String get parentpathstring {
|
||||
// TODO - Drive the refactor tractor through this
|
||||
List<String> psplit = pathstring.split('/');
|
||||
|
||||
Reference in new issue
Block a user