Error message when ordering an inventory item after scanning the QR code

An error message was displayed when ordering an inventory item that was opened by scanning the QR code in the Items module.