2
0
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:
Oliver
2021-10-02 11:53:45 +10:00
parent d433e6327b
commit 86584b366f
4 changed files with 50 additions and 2 deletions

@ -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:
*