2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-13 10:45:29 +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:
Oliver
2023-04-10 16:59:45 +10:00
committed by GitHub
parent 8631fedbfb
commit 020cc4497c
6 changed files with 85 additions and 20 deletions

View File

@ -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;