IDEMPIERE-2064 Implement toolbar+tab button / implement backward compatibility with 2packs generated before IDEMPIERE-2477

This commit is contained in:
Carlos Ruiz 2015-08-04 15:52:19 -05:00
parent bcc12dbd30
commit a674a185a3
1 changed files with 9 additions and 1 deletions

View File

@ -57,9 +57,17 @@ public class PoFiller{
return;
else if (oldValue != null && oldValue.toString().equals(value))
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);
}
}
/**
*