Merge pull request #1824 from SchrodingersGat/po-currency

Use default curreny code
This commit is contained in:
Oliver 2021-07-16 13:54:41 +10:00 committed by GitHub
commit 5ce6dd325d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: {},
},