IDEMPIERE-5567 fix PO.get_Translation for Zero ID tables (#2170)
This commit is contained in:
parent
8fdd24457e
commit
b0fb3c2b44
|
@ -2223,7 +2223,7 @@ public abstract class PO
|
|||
if ( columnName == null
|
||||
|| AD_Language == null
|
||||
|| m_IDs.length > 1
|
||||
|| (m_IDs[0] instanceof Integer && m_IDs[0].equals(I_ZERO))
|
||||
|| (m_IDs[0] instanceof Integer && m_IDs[0].equals(I_ZERO) && ! MTable.isZeroIDTable(get_TableName()))
|
||||
|| (m_IDs[0] instanceof String && Util.isEmpty((String)m_IDs[0]))
|
||||
|| !(m_IDs[0] instanceof Integer || m_IDs[0] instanceof String))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue