2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-29 22:16:47 +00:00

Add default list filters for SupplierPart

This commit is contained in:
Oliver 2021-08-02 16:31:05 +10:00
parent aa24274cb3
commit 0b44b3a0c9

View File

@ -46,6 +46,15 @@ class InvenTreeSupplierPart extends InvenTreeModel {
@override
String url = "company/part/";
@override
Map<String, String> defaultListFilters() {
return {
"manufacturer_detail": "true",
"supplier_detail": "true",
"supplier_part_detail": "true",
};
}
InvenTreeSupplierPart() : super();
InvenTreeSupplierPart.fromJson(Map<String, dynamic> json) : super.fromJson(json) {