From 61c37e3a05eb00c090932ab31e78a8e40db0bf98 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Tue, 13 Aug 2019 21:41:16 +0800 Subject: [PATCH] IDEMPIERE-4019 Wrong MR posting for order with price=0 --- org.adempiere.base/src/org/compiere/model/MOrderLine.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.adempiere.base/src/org/compiere/model/MOrderLine.java b/org.adempiere.base/src/org/compiere/model/MOrderLine.java index fbeeb8c816..f06797a142 100644 --- a/org.adempiere.base/src/org/compiere/model/MOrderLine.java +++ b/org.adempiere.base/src/org/compiere/model/MOrderLine.java @@ -814,7 +814,7 @@ public class MOrderLine extends X_C_OrderLine if (getM_Product_ID() == 0) setM_AttributeSetInstance_ID(0); // Product - else // Set/check Product Price + else if (!isProcessed()) // Set/check Product Price { // Set Price if Actual = 0 if (m_productPrice == null