From 6953754984f32a2f045e43c3597ee28c46ffb7c8 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Fri, 18 Jul 2014 19:11:47 -0500 Subject: [PATCH] IDEMPIERE-2079 2Pack problem exporting/importing translation tabs --- .../src/org/adempiere/pipo2/GridTab2PackExporter.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/org.adempiere.pipo/src/org/adempiere/pipo2/GridTab2PackExporter.java b/org.adempiere.pipo/src/org/adempiere/pipo2/GridTab2PackExporter.java index 83c02ab32d..b8b4d6e2c3 100644 --- a/org.adempiere.pipo/src/org/adempiere/pipo2/GridTab2PackExporter.java +++ b/org.adempiere.pipo/src/org/adempiere/pipo2/GridTab2PackExporter.java @@ -159,10 +159,12 @@ public class GridTab2PackExporter implements IGridTabExporter { /** * {@inheritDoc} - * With 2Pack, everry tab is support to export + * With 2Pack, just trl tabs are not intended to be exported (they are exported as translation */ @Override public boolean isExportableTab(GridTab gridTab) { + if (gridTab.getTableName().toLowerCase().endsWith("_trl")) + return false; return true; } }