Remove and fix some TODO entries (#188)

This commit is contained in:
Oliver 2022-07-20 14:18:07 +10:00 committed by GitHub
parent 42d69365b8
commit 19ad3153e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 18 additions and 28 deletions

View file

@ -514,12 +514,6 @@ class InvenTreeModel {
return results;
}
// Provide a listing of objects at the endpoint
// TODO - Static function which returns a list of objects (of this class)
// TODO - Define a "save" / "update" function
// Override this function for each sub-class
bool matchAgainstString(String filter) {
// Default implementation matches name and description

View file

@ -57,8 +57,6 @@ class InvenTreePartCategory extends InvenTreeModel {
InvenTreeModel createFromJson(Map<String, dynamic> json) {
var cat = InvenTreePartCategory.fromJson(json);
// TODO ?
return cat;
}
}