mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
PO: Use supplier currency when creating a new extra line (#3666)
This commit is contained in:
parent
c4db308dce
commit
1b479ec0cc
@ -222,6 +222,10 @@ $("#new-po-extra-line").click(function() {
|
||||
order: {{ order.pk }},
|
||||
});
|
||||
|
||||
{% if order.supplier.currency %}
|
||||
fields.price_currency.value = '{{ order.supplier.currency }}';
|
||||
{% endif %}
|
||||
|
||||
constructForm('{% url "api-po-extra-line-list" %}', {
|
||||
fields: fields,
|
||||
method: 'POST',
|
||||
|
Loading…
Reference in New Issue
Block a user