mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Refactoring
This commit is contained in:
parent
19fdac46a7
commit
d5a9f4310e
6 changed files with 9 additions and 62 deletions
|
|
@ -253,7 +253,7 @@ class InvenTreeStockItem extends InvenTreeModel {
|
|||
}
|
||||
|
||||
@override
|
||||
Map<String, String> defaultGetFilters() {
|
||||
Map<String, String> defaultFilters() {
|
||||
|
||||
return {
|
||||
"part_detail": "true",
|
||||
|
|
@ -263,16 +263,6 @@ class InvenTreeStockItem extends InvenTreeModel {
|
|||
};
|
||||
}
|
||||
|
||||
@override
|
||||
Map<String, String> defaultListFilters() {
|
||||
|
||||
return {
|
||||
"part_detail": "true",
|
||||
"location_detail": "true",
|
||||
"supplier_detail": "true",
|
||||
};
|
||||
}
|
||||
|
||||
List<InvenTreePartTestTemplate> testTemplates = [];
|
||||
|
||||
int get testTemplateCount => testTemplates.length;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue