IDEMPIERE-2389 Print format and View Report selection on process dialog / revert change on WProcessCtl introduced with 5af9b8c, process info window was broken

This commit is contained in:
Carlos Ruiz 2015-08-25 10:12:11 -05:00
parent b90dbf35ba
commit 0499db9234
1 changed files with 2 additions and 2 deletions

View File

@ -153,7 +153,7 @@ public class WProcessCtl extends AbstractProcessCtl {
{ {
if (log.isLoggable(Level.FINE)) log.fine("WindowNo=" + WindowNo + " - " + pi); if (log.isLoggable(Level.FINE)) log.fine("WindowNo=" + WindowNo + " - " + pi);
// if (pi.getAD_PInstance_ID() < 1) { //red1 bypass if PInstance exists if (pi.getAD_PInstance_ID() < 1) { //red1 bypass if PInstance exists
MPInstance instance = null; MPInstance instance = null;
try try
{ {
@ -180,7 +180,7 @@ public class WProcessCtl extends AbstractProcessCtl {
return; return;
} }
pi.setAD_PInstance_ID (instance.getAD_PInstance_ID()); pi.setAD_PInstance_ID (instance.getAD_PInstance_ID());
// } }
// Get Parameters // Get Parameters
if (parameter != null) { if (parameter != null) {