mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-30 19:00:49 +00:00
Building context menu for purchase order line item
This commit is contained in:
@ -244,6 +244,12 @@ class InvenTreeAPI {
|
||||
// Ensure we only ever create a single instance of the API class
|
||||
static final InvenTreeAPI _api = InvenTreeAPI._internal();
|
||||
|
||||
bool supportPoReceive() {
|
||||
|
||||
// API endpoint for receiving purchase order line items was introduced in v12
|
||||
return _apiVersion >= 12;
|
||||
}
|
||||
|
||||
/*
|
||||
* Connect to the remote InvenTree server:
|
||||
*
|
||||
|
Reference in New Issue
Block a user