From 553867474e9f287111866132b15498c6d537383f Mon Sep 17 00:00:00 2001 From: Soo Fang Lee Date: Fri, 25 Aug 2017 13:05:54 +0200 Subject: [PATCH] IDEMPIERE-3442 Posting Error: Source Not Balanced after Sales Order=>Doc.Action="Void" --- org.adempiere.base/src/org/compiere/model/MOrder.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/org.adempiere.base/src/org/compiere/model/MOrder.java b/org.adempiere.base/src/org/compiere/model/MOrder.java index 55134abab9..23e64ebe1f 100644 --- a/org.adempiere.base/src/org/compiere/model/MOrder.java +++ b/org.adempiere.base/src/org/compiere/model/MOrder.java @@ -2468,6 +2468,8 @@ public class MOrder extends X_C_Order implements DocAction if (m_processMsg != null) return false; + setTotalLines(Env.ZERO); + setGrandTotal(Env.ZERO); setProcessed(true); setDocAction(DOCACTION_None); return true;