Fix form filters

This commit is contained in:
Oliver 2021-07-03 21:21:32 +10:00
parent 8e280b6328
commit 25a80d2aa7

View File

@ -75,7 +75,12 @@ function setupCallbacks() {
constructForm(`/api/order/po-line/${pk}/`, { constructForm(`/api/order/po-line/${pk}/`, {
fields: { fields: {
part: {}, part: {
filters: {
supplier_detail: true,
supplier: {{ order.supplier.pk }},
}
},
quantity: {}, quantity: {},
reference: {}, reference: {},
purchase_price: {}, purchase_price: {},