summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indoteknik_custom/models/solr/product_template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/solr/product_template.py b/indoteknik_custom/models/solr/product_template.py
index 48e87b79..b3787499 100644
--- a/indoteknik_custom/models/solr/product_template.py
+++ b/indoteknik_custom/models/solr/product_template.py
@@ -103,7 +103,7 @@ class ProductTemplate(models.Model):
"qty_sold_f": template.qty_sold,
"voucher_pastihemat" : {
"min_purchase" : voucher.min_purchase_amount,
- "min_purchase" : voucher.discount_type,
+ "discount_type" : voucher.discount_type,
"discount_amount" : voucher.discount_amount,
"max_discount" : voucher.max_discount_amount
}