IDEMPIERE-5567 fix PO.get_Translation for Zero ID tables (#2170)

This commit is contained in:
Carlos Ruiz 2023-12-30 12:39:53 +01:00
parent 8fdd24457e
commit b0fb3c2b44
1 changed files with 1 additions and 1 deletions

View File

@ -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))
{