openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #10973
[Bug 986300] Re: Invoice tax base computing differ from untaxed amount
Hello Ravish,
strange that you don't reproduce this problem. Can be related with
986300 bug.
But mainly if you look from logical side, how untaxed amount is computed
and how tax base, you will see that it's done in 2 different ways, so
please look from this side.
** Changed in: openobject-addons
Status: Incomplete => Opinion
--
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):
Opinion
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
References