From d79f07341b2f0ee81a738c3cc1221c9778e26745 Mon Sep 17 00:00:00 2001
From: Johannes Goderbauer <j.goderbauer@adito.de>
Date: Mon, 24 Feb 2020 09:35:27 +0000
Subject: [PATCH] Merge branch '1050801_SalesprojectDescription' into '2020.0'
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

[Projekt: Entwicklung - Neon][TicketNr.: 1050801][Vertrieb: Angebot: Reiter...

See merge request xrm/basic!135

(cherry picked from commit 35c8926fdc47212f2a2040bd13607e89082d8a04)

93c7de34 [Projekt: Entwicklung - Neon][TicketNr.: 1050801][Vertrieb: Angebot: Reiter...
cdefd636 unkommentierten unnötigen Code entfernt
84954720 [Projekt: Entwicklung - Neon][TicketNr.: 1050801][Vertrieb: Angebot: Reiter...
---
 process/Offer_lib/process.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/process/Offer_lib/process.js b/process/Offer_lib/process.js
index 4c2e282be88..72439ab6561 100644
--- a/process/Offer_lib/process.js
+++ b/process/Offer_lib/process.js
@@ -492,7 +492,7 @@ OfferItemUtils.prototype.insertPartsList = function(pProductId, pAssignedTo, pCu
     return ItemUtils.prototype.insertPartsList.apply(this, [cols, pProductId, pAssignedTo, pCurrency, pContactId, [[["info", "INFO"], ["info", 
                             "( " + newSelect("DESCRIPTION")
                                 .from("DESCRIPTIONTRANSLATION")
-                                .where("DESCRIPTIONTRANSLATION.OBJECT_ROWID", pProductId)
+                                .where("DESCRIPTIONTRANSLATION.OBJECT_ROWID = PRODUCT.PRODUCTID")
                                 .and("DESCRIPTIONTRANSLATION.OBJECT_TYPE = 'Product'")
                                 .and("DESCRIPTIONTRANSLATION.LANG", pLanguage)
                                 .toString() + ")"]]]]);
-- 
GitLab