From 733951883e4b15ed33a3cabd98ec79071c4b9912 Mon Sep 17 00:00:00 2001 From: Oliver Date: Fri, 16 Jul 2021 13:35:51 +1000 Subject: [PATCH] Use default curreny code --- InvenTree/order/templates/order/purchase_order_detail.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/InvenTree/order/templates/order/purchase_order_detail.html b/InvenTree/order/templates/order/purchase_order_detail.html index 97a4ffb78e..f78776f790 100644 --- a/InvenTree/order/templates/order/purchase_order_detail.html +++ b/InvenTree/order/templates/order/purchase_order_detail.html @@ -187,7 +187,11 @@ $('#new-po-line').click(function() { quantity: {}, reference: {}, purchase_price: {}, - purchase_price_currency: {}, + purchase_price_currency: { + {% if order.supplier.currency %} + value: '{{ order.supplier.currency }}', + {% endif %} + }, destination: {}, notes: {}, },