Fix bug [ 1821672 ] Wrong alter table for EntityType and AD_Language

This commit is contained in:
Carlos Ruiz 2007-10-28 15:44:09 +00:00
parent 15fcd80f6d
commit 849650d1b3
1 changed files with 4 additions and 0 deletions

View File

@ -310,6 +310,8 @@ public class MColumn extends X_AD_Column
if (DisplayType.isText(getAD_Reference_ID())
|| getAD_Reference_ID() == DisplayType.List
|| getAD_Reference_ID() == DisplayType.YesNo
// Two special columns: Defined as Table but DB Type is String
|| getColumnName().equals("EntityType") || getColumnName().equals("AD_Language")
|| (getAD_Reference_ID() == DisplayType.Button &&
!(getColumnName().endsWith("_ID"))))
{
@ -356,6 +358,8 @@ public class MColumn extends X_AD_Column
if (DisplayType.isText(getAD_Reference_ID())
|| getAD_Reference_ID() == DisplayType.List
|| getAD_Reference_ID() == DisplayType.YesNo
// Two special columns: Defined as Table but DB Type is String
|| getColumnName().equals("EntityType") || getColumnName().equals("AD_Language")
|| (getAD_Reference_ID() == DisplayType.Button &&
!(getColumnName().endsWith("_ID"))))
{