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:
parent
fe3769cceb
commit
50f5041015
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue