From 957e821542a14c2d4f679aab8286f9d2913231d1 Mon Sep 17 00:00:00 2001
From: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com>
Date: Fri, 3 May 2024 18:21:12 +0530
Subject: [PATCH] Fixes ISSUE-55395: Changed the getNewObject param as required

---
 .../retail/copystore/process/DefaultPropertiesHandler.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/org/openbravo/retail/copystore/process/DefaultPropertiesHandler.java b/src/org/openbravo/retail/copystore/process/DefaultPropertiesHandler.java
index 29570c7..c18c8bc 100644
--- a/src/org/openbravo/retail/copystore/process/DefaultPropertiesHandler.java
+++ b/src/org/openbravo/retail/copystore/process/DefaultPropertiesHandler.java
@@ -1188,7 +1188,7 @@ public class DefaultPropertiesHandler {
         CashManagementEvents newCashUpEvent;
         if (originalCashUpEvent != null) {
           newCashUpEvent = (CashManagementEvents) process
-              .getNewObject("CashMgtEvent-" + originalCashUpEvent.getId());
+              .getNewObject("OBRETCO_CashManagementEvents-" + originalCashUpEvent.getId());
         } else {
           newCashUpEvent = null;
         }
-- 
GitLab

