IDEMPIERE-2079 2Pack problem exporting/importing translation tabs
This commit is contained in:
parent
5176931fc1
commit
6953754984
|
@ -159,10 +159,12 @@ public class GridTab2PackExporter implements IGridTabExporter {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@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
|
@Override
|
||||||
public boolean isExportableTab(GridTab gridTab) {
|
public boolean isExportableTab(GridTab gridTab) {
|
||||||
|
if (gridTab.getTableName().toLowerCase().endsWith("_trl"))
|
||||||
|
return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue