IDEMPIERE-2305 Cash/Check Payment button is ignoring amount entered / fix issue reversing a payment (and in general setting wrongly the docstatus when the document save fails)

This commit is contained in:
Carlos Ruiz 2014-11-24 16:14:23 -05:00
parent fe3769cceb
commit 50f5041015
2 changed files with 1 additions and 2 deletions

View File

@ -660,8 +660,6 @@ public class MPayment extends X_C_Payment
|| is_ValueChanged(COLUMNNAME_C_Charge_ID)
|| is_ValueChanged(COLUMNNAME_C_Currency_ID)
|| is_ValueChanged(COLUMNNAME_C_DocType_ID)
|| is_ValueChanged(COLUMNNAME_C_Invoice_ID)
|| is_ValueChanged(COLUMNNAME_C_Order_ID)
|| is_ValueChanged(COLUMNNAME_DateAcct)
|| is_ValueChanged(COLUMNNAME_DateTrx)
|| is_ValueChanged(COLUMNNAME_DiscountAmt)

View File

@ -1011,6 +1011,7 @@ public class MWFActivity extends X_AD_WF_Activity implements Runnable
if (!m_po.save())
{
success = false;
m_docStatus = null;
processMsg = "SaveError";
}
if (!success)