← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

On 11. 10. 11 18:09, Lorenzo Battistini - Agile BG - Domsense wrote:
> Hello,
> I refactored the module because it had wrong behaviours in some cases.
> See http://bazaar.launchpad.net/~openobject-italia-core-devs/openobject-italia/italian-addons/revision/134
> I also added a company based configuration option to choose either horizontal or vertical calculation, as dieck suggested
>
Lorenzo,

If you allow me, I would like to suggest to create your addon as a
switch (something like account_cancel) which integrates smoothly in the
standard version. Dumping it in localisations would create the need to
replicate it for countries affected, and it would loose visibility...

regards,
bogdan

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
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


Follow ups

References