mirror of
https://github.com/inventree/inventree-app.git
synced 2025-04-28 13:36:50 +00:00
Extract part ID from supplier part
This commit is contained in:
parent
e7f0fec0cf
commit
f9b688cdab
@ -101,6 +101,8 @@ class InvenTreeSupplierPart extends InvenTreeModel {
|
||||
|
||||
String get MPN => jsondata['MPN'] ?? '';
|
||||
|
||||
int get partId => jsondata['part'] ?? -1;
|
||||
|
||||
@override
|
||||
InvenTreeModel createFromJson(Map<String, dynamic> json) {
|
||||
var part = InvenTreeSupplierPart.fromJson(json);
|
||||
|
Loading…
x
Reference in New Issue
Block a user