WithHolding Bug


When you define a withholding based on line value, and the pricelist defines the prices with tax included, the withholding calculation take the line value (that includes the taxes) as base for withholding calculation. I believe the tax must be subtracted before the withholding calculation.
I tested this on my machine and also in the globalqss demo with the same results.
I fixed the bug, tested and it works, attached you will find the LCO_Minvoice.java with the fixes.


Ubuntu 14.04 64 bits


Orlando Curieles
August 22, 2020, 5:36 PM

Closed as potential idea - inactive 4 years

Carlos Ruiz
September 22, 2016, 4:42 PM

, I tested the patch and didn't work. I think it must work just on very specific cases, but my tests failed mostly because of bug


Carlos Ruiz

Orlando Curieles
June 8, 2016, 8:32 PM

Hi Mr. Jaime

On first place this is a OpenSource Project, maybe you need read about that http://www.catb.org/esr/faqs/smart-questions.html

Second place: this bug is not in the iDempiere core is for LCO Plugin from Carlos Ruiz, you need report in the google groups idempiere.


Jaime Garcia
June 8, 2016, 7:16 PM

What happened with this bug? An answer is required

Your pinned fields
Click on the next to a field label to start pinning.




Jaime Garcia