IDEMPIERE-700 two org with the same name / drop debug code committed by mistake
This commit is contained in:
parent
d9094bea02
commit
24f5d10141
|
@ -424,10 +424,8 @@ public class RolePanel extends Window implements EventListener<Event>, Deferrabl
|
||||||
{
|
{
|
||||||
ComboItem ci = new ComboItem(orgKNPairs[i].getName(), orgKNPairs[i].getID());
|
ComboItem ci = new ComboItem(orgKNPairs[i].getName(), orgKNPairs[i].getID());
|
||||||
String id = AdempiereIdGenerator.escapeId(ci.getLabel());
|
String id = AdempiereIdGenerator.escapeId(ci.getLabel());
|
||||||
System.out.println("|"+ci.getId()+"|");
|
|
||||||
if (lstOrganisation.getFellowIfAny(id) == null)
|
if (lstOrganisation.getFellowIfAny(id) == null)
|
||||||
ci.setId(id);
|
ci.setId(id);
|
||||||
System.out.println("|"+ci.getId()+"|");
|
|
||||||
lstOrganisation.appendChild(ci);
|
lstOrganisation.appendChild(ci);
|
||||||
if(orgKNPairs[i].getID().equals(initDefault))
|
if(orgKNPairs[i].getID().equals(initDefault))
|
||||||
lstOrganisation.setSelectedItem(ci);
|
lstOrganisation.setSelectedItem(ci);
|
||||||
|
|
Loading…
Reference in New Issue