← Back to team overview

openerp-india team mailing list archive

[Bug 986300] [NEW] Invoice tax base computing differ from untaxed amount

 

Public bug reported:

This bug reproduced on the 6.1, but I think its same on the Trunk.

Issue is that invoice tax base calculation don't apply rounding for unit
price * quantity, but counting invoice untaxed amount subtotal is
rounded.

Please look to http://bazaar.launchpad.net/~openerp/openobject-
addons/trunk/view/head:/account/account_invoice.py#L1607. I see that for
tax['price_unit'] not needed rounding, mainly it's needed to round
val['base'] = tax['price_unit'] * line['quantity'].

Untaxed amount is calculated with sum of invoice line subtotals.

Later will attach screenshot to see how that tax base differ from
untaxed amount.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/986300

Title:
  Invoice tax base computing differ from untaxed amount

Status in OpenERP Addons (modules):
  New

Bug description:
  This bug reproduced on the 6.1, but I think its same on the Trunk.

  Issue is that invoice tax base calculation don't apply rounding for
  unit price * quantity, but counting invoice untaxed amount subtotal is
  rounded.

  Please look to http://bazaar.launchpad.net/~openerp/openobject-
  addons/trunk/view/head:/account/account_invoice.py#L1607. I see that
  for tax['price_unit'] not needed rounding, mainly it's needed to round
  val['base'] = tax['price_unit'] * line['quantity'].

  Untaxed amount is calculated with sum of invoice line subtotals.

  Later will attach screenshot to see how that tax base differ from
  untaxed amount.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/986300/+subscriptions


Follow ups

References