IDEMPIERE-3443 Payment Schedule leading to -> Current record was changed by another user, please ReQuery / IDEMPIERE-3462
This commit is contained in:
parent
6213d823ed
commit
1bf66f1064
|
@ -1029,7 +1029,7 @@ public class MInvoice extends X_C_Invoice implements DocAction
|
|||
}
|
||||
}
|
||||
|
||||
if (! recursiveCall && (newRecord || is_ValueChanged(COLUMNNAME_C_PaymentTerm_ID))) {
|
||||
if (! recursiveCall && (!newRecord && is_ValueChanged(COLUMNNAME_C_PaymentTerm_ID))) {
|
||||
recursiveCall = true;
|
||||
try {
|
||||
MPaymentTerm pt = new MPaymentTerm (getCtx(), getC_PaymentTerm_ID(), get_TrxName());
|
||||
|
|
|
@ -1090,7 +1090,7 @@ public class MOrder extends X_C_Order implements DocAction
|
|||
}
|
||||
}
|
||||
|
||||
if (! recursiveCall && (newRecord || is_ValueChanged(COLUMNNAME_C_PaymentTerm_ID))) {
|
||||
if (! recursiveCall && (!newRecord && is_ValueChanged(COLUMNNAME_C_PaymentTerm_ID))) {
|
||||
recursiveCall = true;
|
||||
try {
|
||||
MPaymentTerm pt = new MPaymentTerm (getCtx(), getC_PaymentTerm_ID(), get_TrxName());
|
||||
|
|
Loading…
Reference in New Issue