diff --git a/org.adempiere.base/src/org/compiere/model/MLanguage.java b/org.adempiere.base/src/org/compiere/model/MLanguage.java index 9ed15c0d5f..74e80d7a1e 100644 --- a/org.adempiere.base/src/org/compiere/model/MLanguage.java +++ b/org.adempiere.base/src/org/compiere/model/MLanguage.java @@ -28,6 +28,7 @@ import java.util.Properties; import java.util.logging.Level; import org.adempiere.exceptions.DBException; +import org.adempiere.process.UUIDGenerator; import org.compiere.Adempiere; import org.compiere.util.DB; import org.compiere.util.Env; @@ -433,6 +434,12 @@ public class MLanguage extends X_AD_Language // + " WHERE (" + keyColumn + ",'" + getAD_Language()+ "') NOT IN (SELECT " // + keyColumn + ",AD_Language FROM " + tableName + ")"; int no = DB.executeUpdateEx(insert, null, get_TrxName()); + // IDEMPIERE-99 Language Maintenance does not create UUIDs + MTable table = MTable.get(getCtx(), tableName); + MColumn column = table.getColumn(PO.getUUIDColumnName(tableName)); + if (column != null) + UUIDGenerator.updateUUID(column, get_TrxName()); + // log.fine(tableName + " #" + no); return no; } // addTable