mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	PO: Use supplier currency when creating a new extra line (#3666)
This commit is contained in:
		| @@ -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', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user