← Back to team overview

openerp-expert-accounting team mailing list archive

[Bug 707923] Re: [6.0 and 5] invoice tax - rounding issue

 

Hi,

we are refactoring the module 'account_invoice_tax_by_column' [1] ,
making it dependent from 'c2c_account_tax_rounding' [2] .

This is because account_invoice_tax_by_column is too bound to Italian
VAT: most code introduced by account_invoice_tax_by_column is of use to
Italian computations.

For every standard case (but I didn't test enough with children taxes),
I would suggest to use c2c_account_tax_rounding and follow the way
started by that module: avoid intermediate roundings.

Ferdinand, for c2c_account_tax_rounding, maybe you want to take a look
at automated tests [3] that we are introducing in
account_invoice_tax_by_column

Regards

[1] https://code.launchpad.net/~openobject-italia-core-devs/openobject-italia/refactoring_account_invoice_tax_by_column/+merge/81258
[2] http://apps.openerp.com/addon/6227
[3] http://bazaar.launchpad.net/~openobject-italia-core-devs/openobject-italia/refactoring_account_invoice_tax_by_column/files/148/account_invoice_tax_by_column/test/

-- 
You received this bug notification because you are a member of OpenERP
Accounting Experts, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/707923

Title:
  [6.0 and 5] invoice tax - rounding issue

Status in OpenERP Addons (modules):
  Won't Fix

Bug description:
  see attachment

  due to rounding of the calculated tax for each position we get totals
  which are wrong.

  In Austria we usually group the basis per tax rate and calculate the
  tax from this basis to avoid such errors.

  in account/invoice.py
  class account_invoice_tax  - 
  def compute must be modified 

  actually only some lines of code to group the invoice lines before
  calculating the tax

  probably this has been discussed (but not solved) already

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