From 0e389c55057b27c5b04f67492f2387ca9dc981f3 Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Wed, 18 Apr 2007 09:15:16 +0000 Subject: [PATCH] BF [ 1686773 ] Invoice: inconsistent use of TaxAmt, LineTotalAmt http://sourceforge.net/tracker/?func=detail&atid=879332&aid=1686773&group_id=176962 --- base/src/org/compiere/model/MInvoiceLine.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/base/src/org/compiere/model/MInvoiceLine.java b/base/src/org/compiere/model/MInvoiceLine.java index 83394a3326..10b41fe950 100644 --- a/base/src/org/compiere/model/MInvoiceLine.java +++ b/base/src/org/compiere/model/MInvoiceLine.java @@ -733,6 +733,8 @@ public class MInvoiceLine extends X_C_InvoiceLine protected boolean beforeSave (boolean newRecord) { log.fine("New=" + newRecord); + // Re-set invoice header (need to update m_IsSOTrx flag) - phib [ 1686773 ] + setInvoice(getParent()); // Charge if (getC_Charge_ID() != 0) {