IDEMPIERE-2745:2Pack is not creating foreign keys
This commit is contained in:
parent
460e8b9e78
commit
62fa6b90ef
|
@ -843,7 +843,7 @@ public class MColumn extends X_AD_Column
|
|||
{
|
||||
StringBuilder fkConstraintSql = new StringBuilder();
|
||||
|
||||
if (!column.isKey() && !column.getColumnName().equals(PO.getUUIDColumnName(table.getTableName())))
|
||||
if (!column.isKey() && !column.getColumnName().equals(PO.getUUIDColumnName(table.getTableName())) && !column.isVirtualColumn())
|
||||
{
|
||||
int refid = column.getAD_Reference_ID();
|
||||
if (refid != DisplayType.List && refid != DisplayType.Payment)
|
||||
|
|
Loading…
Reference in New Issue