From 4d276dda9970fbde0d633f0ea1f4732d856f6e74 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Tue, 23 Jul 2013 18:36:05 -0500 Subject: [PATCH] IDEMPIERE-1135 Report wizard not clearing order items / based on patch from Juliana Corredor --- .../src/org/compiere/print/MPrintFormatItem.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/org.adempiere.base/src/org/compiere/print/MPrintFormatItem.java b/org.adempiere.base/src/org/compiere/print/MPrintFormatItem.java index edc3ba7793..8ba1459d20 100644 --- a/org.adempiere.base/src/org/compiere/print/MPrintFormatItem.java +++ b/org.adempiere.base/src/org/compiere/print/MPrintFormatItem.java @@ -625,6 +625,9 @@ public class MPrintFormatItem extends X_AD_PrintFormatItem */ protected boolean beforeSave (boolean newRecord) { + if (!isPrinted()) { + setIsOrderBy(false); + } // Order if (!isOrderBy()) {