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())
|
if (mTax.getC_Tax_ID() == m_taxes[i].getC_Tax_ID())
|
||||||
{
|
{
|
||||||
dls[j].setLineNetAmtDifference(diff);
|
dls[j].setLineNetAmtDifference(diff);
|
||||||
|
m_taxes[i].addIncludedTax(diff.negate());
|
||||||
|
diff = Env.ZERO;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (diff.signum() == 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
} // for all lines
|
} // for all lines
|
||||||
} // tax difference
|
} // tax difference
|
||||||
} // for all taxes
|
} // for all taxes
|
||||||
|
|
Loading…
Reference in New Issue