openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #10599
[Bug 986300] Re: Invoice tax base computing differ from untaxed amount
Patch can look like this.
** Patch added: "patch.diff"
https://bugs.launchpad.net/openobject-addons/+bug/986300/+attachment/3099946/+files/patch.diff
--
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
References