2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-12 18:25:26 +00:00

Stock barcode fix (#232)

* API: Provide more info in error messages

* Fix support for legacy stock item custom barcodes

* Refresh display after assigning barcode

* Update release notes

* Fix for scanning unkown barcode

- Modern API returns slightly different data

* Fix for scanning unkown barcode

- Modern API returns slightly different data

* Update release notes
This commit is contained in:
Oliver
2022-12-11 23:41:21 +11:00
committed by GitHub
parent 27040024c0
commit d2b74e7684
7 changed files with 54 additions and 18 deletions

View File

@ -456,7 +456,7 @@ class _LocationDisplayState extends RefreshableState<LocationDisplayWidget> {
if (InvenTreeAPI().supportModernBarcodes) {
tiles.add(
customBarcodeActionTile(context, location!.customBarcode, "stocklocation", location!.pk)
customBarcodeActionTile(context, this, location!.customBarcode, "stocklocation", location!.pk)
);
}
}