IDEMPIERE-3137 Pack Out Print Format doesn't export translations

This commit is contained in:
Carlos Ruiz 2016-07-08 17:49:43 +02:00
parent 05f6571df4
commit a952e89522
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,6 @@ import org.adempiere.pipo2.PoExporter;
import org.adempiere.pipo2.PoFiller; import org.adempiere.pipo2.PoFiller;
import org.adempiere.pipo2.exception.POSaveFailedException; import org.adempiere.pipo2.exception.POSaveFailedException;
import org.compiere.model.I_AD_PrintFormat; import org.compiere.model.I_AD_PrintFormat;
import org.compiere.model.I_AD_PrintFormatItem;
import org.compiere.model.I_AD_PrintPaper; import org.compiere.model.I_AD_PrintPaper;
import org.compiere.model.I_AD_Table; import org.compiere.model.I_AD_Table;
import org.compiere.model.X_AD_Package_Exp_Detail; import org.compiere.model.X_AD_Package_Exp_Detail;
@ -65,6 +64,7 @@ public class PrintFormatElementHandler extends AbstractElementHandler {
return; return;
} }
element.recordId = mPrintFormat.getAD_PrintFormat_ID();
if (mPrintFormat.is_new() || mPrintFormat.is_Changed()) { if (mPrintFormat.is_new() || mPrintFormat.is_Changed()) {
X_AD_Package_Imp_Detail impDetail = createImportDetail(ctx, element.qName, X_AD_PrintFormat.Table_Name, X_AD_Package_Imp_Detail impDetail = createImportDetail(ctx, element.qName, X_AD_PrintFormat.Table_Name,
X_AD_PrintFormat.Table_ID); X_AD_PrintFormat.Table_ID);