minor - make generated id more readable.
This commit is contained in:
parent
8816fa5a9f
commit
5d487f1ad2
|
@ -55,6 +55,8 @@ public class AdempiereIdGenerator implements IdGenerator {
|
||||||
i = 1;
|
i = 1;
|
||||||
}
|
}
|
||||||
desktop.setAttribute(DESKTOP_ID_ATTRIBUTE, String.valueOf(i));
|
desktop.setAttribute(DESKTOP_ID_ATTRIBUTE, String.valueOf(i));
|
||||||
|
if (!prefix.endsWith("_"))
|
||||||
|
prefix = prefix + "_";
|
||||||
return prefix + i;
|
return prefix + i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue