2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-16 04:05:28 +00:00

Stock item serial number functionality (#199)

* Stock item serial number functionality

- Allow serial numbers to be specified when creating a new stock item
- Allow serial number to be edited from stock item context

* Update build number and release notes
This commit is contained in:
Oliver
2022-08-02 13:34:15 +10:00
committed by GitHub
parent e78bb78bfd
commit 19ff6eb526
6 changed files with 55 additions and 8 deletions

View File

@ -292,6 +292,11 @@ class _StockItemDisplayState extends RefreshableState<StockDetailWidget> {
fields.remove("part");
fields.remove("quantity");
fields.remove("location");
fields.remove("serial_numbers");
if (part == null || !part!.isTrackable) {
fields.remove("serial");
}
item.editForm(
context,