Skip to content

Commit

Permalink
Dont use legacy stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBestPessimist committed Dec 5, 2019
1 parent 378f306 commit 6466e17
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -36,6 +36,7 @@
import org.compiere.model.I_C_Invoice;
import org.compiere.model.I_C_Order;
import org.compiere.model.I_C_OrderLine;
import org.compiere.model.I_C_Payment;
import org.compiere.model.I_C_Project;
import org.compiere.model.I_M_InOut;
import org.compiere.model.I_R_Request;
Expand Down Expand Up @@ -154,7 +155,7 @@ else if (m_AD_Table_ID == getTableId(I_C_Invoice.class))
{
m_where.append(" OR C_Invoice_ID=").append(m_Record_ID);
}
else if (m_AD_Table_ID == getTableId(MPayment.class))
else if (m_AD_Table_ID == getTableId(I_C_Payment.class))
{
m_where.append(" OR C_Payment_ID=").append(m_Record_ID);
}
Expand Down Expand Up @@ -296,7 +297,7 @@ else if (m_AD_Table_ID == getTableId(I_M_Product.class))
{
tab.setValue("M_Product_ID", new Integer(m_Record_ID));
}
else if (m_AD_Table_ID == getTableId(MPayment.class))
else if (m_AD_Table_ID == getTableId(I_C_Payment.class))
{
tab.setValue("C_Payment_ID", new Integer(m_Record_ID));
}
Expand Down

0 comments on commit 6466e17

Please sign in to comment.