2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-10-14 05:12:21 +00:00

Re-order barcode scanning priority (#693)

* Re-order barcode scanning priority

- Closes https://github.com/inventree/inventree-app/issues/692

* dart format

* Try with removed line

* Try without pythonscript

* just pub get

* try with fvm

* Remove fvm

* set working dir

* try just pub get

* Install python first

* Updates

* Use fvm

* Adjust CI
This commit is contained in:
Oliver
2025-09-28 13:34:22 +10:00
committed by GitHub
parent d237a0e076
commit bdc5573311
5 changed files with 24 additions and 14 deletions

View File

@@ -250,12 +250,12 @@ class BarcodeScanHandler extends BarcodeHandler {
// The following model types can be matched with barcodes
List<String> validModels = [
InvenTreePart.MODEL_TYPE,
InvenTreeCompany.MODEL_TYPE,
InvenTreeStockItem.MODEL_TYPE,
InvenTreeStockLocation.MODEL_TYPE,
InvenTreeSupplierPart.MODEL_TYPE,
InvenTreeManufacturerPart.MODEL_TYPE,
InvenTreePart.MODEL_TYPE,
InvenTreeStockLocation.MODEL_TYPE,
InvenTreeCompany.MODEL_TYPE,
];
if (InvenTreeAPI().supportsOrderBarcodes) {