mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Adds convenience function for editing model
This commit is contained in:
parent
92a7a73408
commit
67ccbf64b5
3 changed files with 37 additions and 19 deletions
|
|
@ -16,6 +16,16 @@ class InvenTreePartCategory extends InvenTreeModel {
|
|||
@override
|
||||
String get URL => "part/category/";
|
||||
|
||||
@override
|
||||
Map<String, dynamic> formFields() {
|
||||
|
||||
return {
|
||||
"name": {},
|
||||
"description": {},
|
||||
"parent": {}
|
||||
};
|
||||
}
|
||||
|
||||
@override
|
||||
Map<String, String> defaultListFilters() {
|
||||
var filters = new Map<String, String>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue