From b9b23a3853e86ec220395c6dc7b4a7aa10be81f5 Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 8 Sep 2021 14:14:14 +1000 Subject: [PATCH] bug fix --- InvenTree/order/templates/order/purchase_order_detail.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/InvenTree/order/templates/order/purchase_order_detail.html b/InvenTree/order/templates/order/purchase_order_detail.html index 2bdff60ebe..4262a810e0 100644 --- a/InvenTree/order/templates/order/purchase_order_detail.html +++ b/InvenTree/order/templates/order/purchase_order_detail.html @@ -201,7 +201,9 @@ $('#new-po-line').click(function() { }, method: 'POST', title: '{% trans "Add Line Item" %}', - onSuccess: reloadTable, + onSuccess: function() { + $('#po-line-table').bootstrapTable('refresh'); + }, }); });