mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
0.4.2
- Disable "suppliers" detail window (for now)
This commit is contained in:
parent
acecec113e
commit
beeea794cb
4 changed files with 17 additions and 6 deletions
|
|
@ -51,8 +51,7 @@ class InvenTreeSupplierPart extends InvenTreeModel {
|
|||
@override
|
||||
String URL = "company/part/";
|
||||
|
||||
@override
|
||||
Map<String, String> defaultListFilters() {
|
||||
Map<String, String> _filters() {
|
||||
return {
|
||||
"manufacturer_detail": "true",
|
||||
"supplier_detail": "true",
|
||||
|
|
@ -60,6 +59,16 @@ class InvenTreeSupplierPart extends InvenTreeModel {
|
|||
};
|
||||
}
|
||||
|
||||
@override
|
||||
Map<String, String> defaultListFilters() {
|
||||
return _filters();
|
||||
}
|
||||
|
||||
@override
|
||||
Map<String, String> defaultGetFilters() {
|
||||
return _filters();
|
||||
}
|
||||
|
||||
InvenTreeSupplierPart() : super();
|
||||
|
||||
InvenTreeSupplierPart.fromJson(Map<String, dynamic> json) : super.fromJson(json);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue