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:
parent
aa24274cb3
commit
0b44b3a0c9
@ -46,6 +46,15 @@ class InvenTreeSupplierPart extends InvenTreeModel {
|
|||||||
@override
|
@override
|
||||||
String url = "company/part/";
|
String url = "company/part/";
|
||||||
|
|
||||||
|
@override
|
||||||
|
Map<String, String> defaultListFilters() {
|
||||||
|
return {
|
||||||
|
"manufacturer_detail": "true",
|
||||||
|
"supplier_detail": "true",
|
||||||
|
"supplier_part_detail": "true",
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
InvenTreeSupplierPart() : super();
|
InvenTreeSupplierPart() : super();
|
||||||
|
|
||||||
InvenTreeSupplierPart.fromJson(Map<String, dynamic> json) : super.fromJson(json) {
|
InvenTreeSupplierPart.fromJson(Map<String, dynamic> json) : super.fromJson(json) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user