From 2b6397837c3b369cb67b7710228aaf23676434df Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Thu, 30 Mar 2023 09:52:24 +0700 Subject: bug fix error boolean + string --- indoteknik_custom/models/apache_solr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indoteknik_custom/models/apache_solr.py b/indoteknik_custom/models/apache_solr.py index 50f3d8f1..6bd717b2 100644 --- a/indoteknik_custom/models/apache_solr.py +++ b/indoteknik_custom/models/apache_solr.py @@ -38,8 +38,8 @@ class ApacheSolr(models.Model): else: price_excl_after_disc = price_excl_after_disc price_excl = price_excl - variants_name += variant.display_name+', ' - variants_code += variant.default_code+', ' + variants_name += variant.display_name or ''+', ' + variants_code += variant.default_code or ''+', ' document=[({ 'id': template.id, -- cgit v1.2.3