IDEMPIERE-1649:Reference of User1_id, User2_id in new table is create incorrect
This commit is contained in:
parent
682ebf5955
commit
908050c3bd
|
@ -751,7 +751,7 @@ public class MColumn extends X_AD_Column
|
||||||
setIsIdentifier(false);
|
setIsIdentifier(false);
|
||||||
setIsUpdateable(false);
|
setIsUpdateable(false);
|
||||||
setIsAlwaysUpdateable(false);
|
setIsAlwaysUpdateable(false);
|
||||||
setIsKey(true);
|
setIsKey(false);
|
||||||
} else if (getAD_Table().getTableName().concat("_ID").equals(getColumnName())) {
|
} else if (getAD_Table().getTableName().concat("_ID").equals(getColumnName())) {
|
||||||
// ID key column
|
// ID key column
|
||||||
setAD_Reference_ID(DisplayType.ID);
|
setAD_Reference_ID(DisplayType.ID);
|
||||||
|
@ -764,6 +764,7 @@ public class MColumn extends X_AD_Column
|
||||||
setIsIdentifier(false);
|
setIsIdentifier(false);
|
||||||
setIsUpdateable(false);
|
setIsUpdateable(false);
|
||||||
setIsAlwaysUpdateable(false);
|
setIsAlwaysUpdateable(false);
|
||||||
|
setIsKey(true);
|
||||||
} else {
|
} else {
|
||||||
// get defaults from most used case
|
// get defaults from most used case
|
||||||
String sql = ""
|
String sql = ""
|
||||||
|
|
Loading…
Reference in New Issue