inventree/inventree-app

Barcode Scan Error when Allocating Stock to sales order (#466)

Closed this issue · 5 comments

Hi All,

We are using Inventree 0.14.4 and the allocate stock functionality is not working. I am getting Barcode Scan Error in orange at the bottom of the scan screen.

Steps:
Open app
Open Sales order
Click little QR code icon
Click Allocate stock
Scan stock item barcode
Error appears

Cheers
Tim

@timmyhadwen some questions:

  • What is the error? If the app does not display an error message, does the server?
  • Can you provide a screenshot?
  • What supplier barcode type are you scanning?

Error log:
10.0.10.143 - - [04/Apr/2024:05:05:14 +0000] "POST /api/barcode/so-allocate/ HTTP/1.0" 400 46 "-" "Dart/3.1 (dart:io)"

Screenshot: Unfortunately cannot click the little I to get more info as it closes just before the overlay ends.
IMG_0952

Photo of the barcode we are scanning. Should be a stock item. The QR Data is
{"stockitem": 437}
IMG_0953

Any there any related logs available from the server side?

@SchrodingersGat Is there a particular log file that you think it might be in?

Closing this as it seems to be resolved in later versions.