mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
PO Contact (#305)
* Bug fix in API forms - Allow form fields to specify custom filters at runtime * Add "contact" model to purchase order edit form * Add action to create new purchase order from list widget * widget updates for purchase order
This commit is contained in:
parent
8631fedbfb
commit
020cc4497c
6 changed files with 85 additions and 20 deletions
|
|
@ -285,6 +285,9 @@ class InvenTreeAPI {
|
|||
// ReturnOrder supports API v104 or newer
|
||||
bool get supportsReturnOrders => isConnected() && apiVersion >= 104;
|
||||
|
||||
// "Contact" model exposed to API
|
||||
bool get supportsContactModel => isConnected() && apiVersion >= 104;
|
||||
|
||||
// Status label endpoints API v105 or newer
|
||||
bool get supportsStatusLabelEndpoints => isConnected() && apiVersion >= 105;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue