From 5998051089095e85232726a85043d7902579e4e3 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Tue, 28 Dec 2010 23:28:07 +0800 Subject: [PATCH] Change generic export default to export ad_org_id reference instead of getting from context. --- .../org/adempiere/pipo2/handler/GenericPOElementHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.adempiere.pipo.handlers/src/org/adempiere/pipo2/handler/GenericPOElementHandler.java b/org.adempiere.pipo.handlers/src/org/adempiere/pipo2/handler/GenericPOElementHandler.java index 1fb6fe321a..38db379171 100644 --- a/org.adempiere.pipo.handlers/src/org/adempiere/pipo2/handler/GenericPOElementHandler.java +++ b/org.adempiere.pipo.handlers/src/org/adempiere/pipo2/handler/GenericPOElementHandler.java @@ -160,7 +160,7 @@ public class GenericPOElementHandler extends AbstractElementHandler { addTypeName(atts, "table"); document.startElement("","", tableName, atts); PoExporter filler = new PoExporter(ctx, document, po); - filler.export(excludes); + filler.export(excludes, true); for (int i = 1; i < components.length; i++) { String tables[] = components[i].split("[>]"); @@ -193,7 +193,7 @@ public class GenericPOElementHandler extends AbstractElementHandler { List excludes = defaultExcludeList(tables[index]); document.startElement("", "", tables[index], atts); PoExporter filler = new PoExporter(ctx, document, po); - filler.export(excludes); + filler.export(excludes, true); if (index + 1 < tables.length) { exportDetail(ctx, document, po, index+1, tables); }