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'); + }, }); });