mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-13 10:45:29 +00:00
Sales order barcode (#466)
* Add barcode handler for allocating stock to sales order * Refactor sales order allocation fields * Improve barcode handling * Handle barcode scan from sales order line detail view * Remove debug statements
This commit is contained in:
@ -336,6 +336,9 @@ class InvenTreeAPI {
|
||||
// Does the server support adding line items to a PO using barcodes?
|
||||
bool get supportsBarcodePOAddLineEndpoint => isConnected() && apiVersion >= 153;
|
||||
|
||||
// Does the server support allocating stock to sales order using barcodes?
|
||||
bool get supportsBarcodeSOAllocateEndpoint => isConnected() && apiVersion >= 160;
|
||||
|
||||
// Cached list of plugins (refreshed when we connect to the server)
|
||||
List<InvenTreePlugin> _plugins = [];
|
||||
|
||||
|
Reference in New Issue
Block a user