mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
stash
This commit is contained in:
parent
284c59d8f8
commit
ba9f09cd65
2 changed files with 22 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import 'dart:io';
|
||||
|
||||
import 'package:InvenTree/api_form.dart';
|
||||
import 'package:InvenTree/widget/part_notes.dart';
|
||||
import 'package:InvenTree/widget/progress.dart';
|
||||
import 'package:InvenTree/widget/snacks.dart';
|
||||
|
|
@ -178,6 +179,24 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
|
|||
var _keywords;
|
||||
var _link;
|
||||
|
||||
|
||||
launchApiForm(
|
||||
"Edit Part",
|
||||
part.url,
|
||||
{
|
||||
"name": {},
|
||||
"description": {},
|
||||
"IPN": {
|
||||
"hidden": true,
|
||||
"label": "My custom label!",
|
||||
},
|
||||
"active": {},
|
||||
},
|
||||
modelData: part.jsondata
|
||||
);
|
||||
|
||||
return;
|
||||
|
||||
showFormDialog(L10().editPart,
|
||||
key: _editPartKey,
|
||||
callback: () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue