mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Create a new stock location
This commit is contained in:
parent
0d11af002b
commit
76c0ab3d7f
3 changed files with 51 additions and 9 deletions
|
|
@ -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('/');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue