mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +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 }},
|
order: {{ order.pk }},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
{% if order.supplier.currency %}
|
||||||
|
fields.price_currency.value = '{{ order.supplier.currency }}';
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
constructForm('{% url "api-po-extra-line-list" %}', {
|
constructForm('{% url "api-po-extra-line-list" %}', {
|
||||||
fields: fields,
|
fields: fields,
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user