From b4412ef575a4142dd0fd3653c72035f464b6764b Mon Sep 17 00:00:00 2001
From: Matthias <matmair@live.de>
Date: Sun, 20 Jun 2021 13:32:52 +0200
Subject: [PATCH] also show prices of the value 0
---
InvenTree/order/templates/order/order_wizard/select_parts.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/InvenTree/order/templates/order/order_wizard/select_parts.html b/InvenTree/order/templates/order/order_wizard/select_parts.html
index 5bd67a4baa..a02113fa18 100644
--- a/InvenTree/order/templates/order/order_wizard/select_parts.html
+++ b/InvenTree/order/templates/order/order_wizard/select_parts.html
@@ -54,7 +54,7 @@
<option value="{{ supplier.id }}"{% if part.order_supplier == supplier.id %} selected="selected"{% endif %}>
{% if show_price %}
{% call_method supplier 'get_price' part.order_quantity as price %}
- {% if price %}{% include "price.html" with price=price %}{% else %}{% trans 'No price' %}{% endif %} -
+ {% if price != None %}{% include "price.html" with price=price %}{% else %}{% trans 'No price' %}{% endif %} -
{% endif %}
{{ supplier }}
</option>