IDEMPIERE-3983 Matched PO posting status "Deferred" never transitions to "Posted" if no matching MR is assigned

This commit is contained in:
Heng Sin Low 2019-06-14 18:29:45 +08:00
parent 62b0da9232
commit 5aa78bbf5e
1 changed files with 2 additions and 0 deletions

View File

@ -395,6 +395,8 @@ public class MMatchPO extends X_M_MatchPO
}
else
continue;
if (iLine == null && mpo.isPosted())
continue;
}
if ((iLine != null || mpo.getC_InvoiceLine_ID() > 0) && (sLine != null || mpo.getM_InOutLine_ID() > 0))
{