Wrong item totals on invoice and quote screens


#1

After skipping several updates(i altered the code to much) i installed the last version(1.4.9)
I noticed that the item totals are wrong calculated when adding discount.
The tax amount is not correct.

Discussed it already a long time ago in this post: bug

see attached screenshot.

it must be:

item= 10
discount= 2-
subtotal = 8
tax 21% = 1,68+
Total = 9,68


Tax on discounts for products
#2

The problem is that this can not be changed easily without breaking any existing records. The only way to solve this would be to add an option that allows the user to set the order in which the amounts are calculated.
Unfortunately the option is not working correctly. See this thread for more information: InvoicePlane needs your help testing a new feature: calculation order


#3

But with a fresh(new) install it’s no problem?


#4

It would be possible for fresh installations but we simply cannot tell all existing users to start again. And the problem cannot be solved with an update for existing users.


#5

I understand, for now i alter the code for my new customer, THANK YOU!


#6