IDEMPIERE-3054 Issue with summary tax / fix roundings on posting for summary taxes (still issues with multiple lines)
This commit is contained in:
parent
b1aabc6c78
commit
976bcf5c49
|
@ -260,9 +260,14 @@ public class Doc_Invoice extends Doc
|
|||
if (mTax.getC_Tax_ID() == m_taxes[i].getC_Tax_ID())
|
||||
{
|
||||
dls[j].setLineNetAmtDifference(diff);
|
||||
m_taxes[i].addIncludedTax(diff.negate());
|
||||
diff = Env.ZERO;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (diff.signum() == 0) {
|
||||
break;
|
||||
}
|
||||
} // for all lines
|
||||
} // tax difference
|
||||
} // for all taxes
|
||||
|
|
Loading…
Reference in New Issue