IDEMPIERE-3442 Posting Error: Source Not Balanced after Sales Order=>Doc.Action="Void"

This commit is contained in:
Soo Fang Lee 2017-08-25 13:05:54 +02:00
parent 7558c71176
commit 553867474e
1 changed files with 2 additions and 0 deletions

View File

@ -2468,6 +2468,8 @@ public class MOrder extends X_C_Order implements DocAction
if (m_processMsg != null) if (m_processMsg != null)
return false; return false;
setTotalLines(Env.ZERO);
setGrandTotal(Env.ZERO);
setProcessed(true); setProcessed(true);
setDocAction(DOCACTION_None); setDocAction(DOCACTION_None);
return true; return true;