IDEMPIERE-2064 Implement toolbar+tab button / implement backward compatibility with 2packs generated before IDEMPIERE-2477
This commit is contained in:
parent
bcc12dbd30
commit
a674a185a3
|
@ -57,9 +57,17 @@ public class PoFiller{
|
||||||
return;
|
return;
|
||||||
else if (oldValue != null && oldValue.toString().equals(value))
|
else if (oldValue != null && oldValue.toString().equals(value))
|
||||||
return;
|
return;
|
||||||
else
|
else {
|
||||||
|
if (po instanceof MColumn && "IsToolbarButton".equals(columnName)) {
|
||||||
|
// IDEMPIERE-2064 - backward compatibility with 2packs generated before IDEMPIERE-2477
|
||||||
|
if ("true".equals(value))
|
||||||
|
value ="Y";
|
||||||
|
else if ("false".equals(value))
|
||||||
|
value ="N";
|
||||||
|
}
|
||||||
po.set_ValueNoCheck(columnName, value);
|
po.set_ValueNoCheck(columnName, value);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue