IDEMPIERE-4019 Wrong MR posting for order with price=0

This commit is contained in:
Heng Sin Low 2019-08-13 21:41:16 +08:00
parent 0222a12fe9
commit 61c37e3a05
1 changed files with 1 additions and 1 deletions

View File

@ -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