mirror of
https://github.com/inventree/inventree-app.git
synced 2025-05-02 15:28:53 +00:00
Add more fields for stock item creation
This commit is contained in:
parent
3fb6b38930
commit
3e3ab680f6
@ -7,6 +7,7 @@
|
||||
- Add ability to create new Part Categories
|
||||
- Add ability to create new Parts
|
||||
- Add ability to create new Stock Locations
|
||||
- Add ability to create new Stock Items
|
||||
- App bar now always displays "back" button
|
||||
- Display "batch code" information for stock item
|
||||
- Display "packaging" information for stock item
|
||||
|
@ -340,7 +340,7 @@ class APIFormField {
|
||||
part.description,
|
||||
style: TextStyle(fontWeight: selected ? FontWeight.bold : FontWeight.normal),
|
||||
) : null,
|
||||
leading: extended ? InvenTreeAPI().getImage(part.thumbnail, width: 32, height: 32) : null,
|
||||
leading: extended ? InvenTreeAPI().getImage(part.thumbnail, width: 40, height: 40) : null,
|
||||
);
|
||||
|
||||
case "partcategory":
|
||||
|
@ -113,8 +113,11 @@ class InvenTreeStockItem extends InvenTreeModel {
|
||||
return {
|
||||
"part": {},
|
||||
"location": {},
|
||||
"status": {},
|
||||
"quantity": {},
|
||||
"status": {},
|
||||
"batch": {},
|
||||
"packaging": {},
|
||||
"link": {},
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user