← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 748178] Re: account - invoices analysis - wrong net and total computation

 

sorry but i don't understand why the line total incl tax can't be
caculated by dividing the invoice total / number of lines (as written in
the patch). Can you give an example?

Line 1  subtotal = 100, tax =20
Line 2 subtotal = 200, tax =40

invoice total incl tax= 360
calculated total per line = 360/2 = 180  for each line , which obviously is wrong
total line 1 = 100+20=120
total line 2 = 200+40=240

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/748178

Title:
  account - invoices analysis - wrong net and  total computation

Status in OpenERP Modules (addons):
  Fix Released

Bug description:
  please see patch and comments inside
  patch also includes performance gain  and simplifications
  one FIXME left !


References