mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Building context menu for purchase order line item
This commit is contained in:
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:
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue