From 85585a0fbffb5e54cfbb9ea416481427eb4c64a8 Mon Sep 17 00:00:00 2001
From: "j.luginger" <j.luginger@adito.de>
Date: Thu, 26 Nov 2020 14:29:41 +0100
Subject: [PATCH] Preis Vorbelegung im Belegposten bei Auswahl von Produkt
 geifxt

---
 process/Product_lib/process.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/process/Product_lib/process.js b/process/Product_lib/process.js
index ee03a52bec..05c9106f30 100644
--- a/process/Product_lib/process.js
+++ b/process/Product_lib/process.js
@@ -283,7 +283,7 @@ ProductUtils.getProductDetails = function(pid, priceListFilter, additionalProduc
                 return priceLists[list];
             }
             //customer deposited price list (defined by Attribute)
-            if (priceListFilter.priceList != "") {
+            if (priceListFilter.priceList != "" && priceListFilter.priceList != null) {
                 var res;
                 var escape;
                  // runs trough the possible pricelists to find the one with the correct pricelist ("-type"). 
-- 
GitLab