From 702cb1f214d3d12a5f162b13923888287cd9b1db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Tak=C3=A1cs?= <93127072+PeterTakacs300@users.noreply.github.com> Date: Thu, 21 Jul 2022 14:40:32 +0200 Subject: [PATCH] IDEMPIERE-1963 Implement Generate Shipments (manual) as Info Window restore backwards compatibility --- .../src/org/adempiere/process/InOutGenerateRMA.java | 2 +- .../src/org/compiere/process/InOutGenerate.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/org.adempiere.base.process/src/org/adempiere/process/InOutGenerateRMA.java b/org.adempiere.base.process/src/org/adempiere/process/InOutGenerateRMA.java index c0fa732bfd..c8e6d7ef81 100644 --- a/org.adempiere.base.process/src/org/adempiere/process/InOutGenerateRMA.java +++ b/org.adempiere.base.process/src/org/adempiere/process/InOutGenerateRMA.java @@ -87,7 +87,7 @@ public class InOutGenerateRMA extends SvrProcess p_movementDate = new Timestamp(System.currentTimeMillis()); } } - p_Selection = getProcessInfo().getAD_InfoWindow_ID() > 0; + if (getProcessInfo().getAD_InfoWindow_ID() > 0) p_Selection=true; } protected String doIt() throws Exception diff --git a/org.adempiere.base.process/src/org/compiere/process/InOutGenerate.java b/org.adempiere.base.process/src/org/compiere/process/InOutGenerate.java index ce845d1bc4..20bba55872 100644 --- a/org.adempiere.base.process/src/org/compiere/process/InOutGenerate.java +++ b/org.adempiere.base.process/src/org/compiere/process/InOutGenerate.java @@ -150,7 +150,7 @@ public class InOutGenerate extends SvrProcess + ", Movement=" + m_movementDate); - if (getProcessInfo().getAD_InfoWindow_ID() > 0) // VInOutGen + if ((getProcessInfo().getAD_InfoWindow_ID() > 0) || (getProcessInfo().getAD_InfoWindow_ID()==0 && p_Selection)) { p_Selection = true; m_sql = new StringBuffer("SELECT C_Order.* FROM C_Order, T_Selection ")