From a85863ff08d83cc6859a090df61a9d3bb57a2cc0 Mon Sep 17 00:00:00 2001 From: "p.neub" <p.neub@adito.de> Date: Fri, 21 May 2021 08:48:57 +0200 Subject: [PATCH] =?UTF-8?q?[Projekt:=20xRM-Sales][TicketNr.:=201080904][Pr?= =?UTF-8?q?eisliste=20an=20Produkt=20mit=20St=C3=BCckliste=20kann=20nicht?= =?UTF-8?q?=20angelegt=20werden]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 f6b58db1ec5..8a9ff193429 100644 --- a/process/Product_lib/process.js +++ b/process/Product_lib/process.js @@ -832,7 +832,7 @@ ProductUtils.presetPriceAndVat = function(pProductId, pVat, pPriceList, pBuySell sumUpPrices[products[product]["SOURCE_ID"]] = {}; } - var assignedTo = products[product]["DEST_ID"] != "" ? JSON.parse(products[product]["DEST_ID"])[1] : pProductId; + var assignedTo = products[product]["DEST_ID"] != "" ? products[product]["DEST_ID"] : pProductId; treestructure = ItemUtils.buildTreeStructure(treestructure, assignedTo, products[product]["PROD2PRODID"]); } } -- GitLab