← Back to team overview

openerp-india team mailing list archive

[Bug 1198840] Re: account: force account.invoice.tax recalculation when different currency used

 

I vote for higher importance of this bug.

-- 
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/1198840

Title:
  account: force account.invoice.tax recalculation when different
  currency used

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  Affects all versions.

  
  Requirements :
  Any invoice with other currency than company. 

  Problem description:

  In certain circumstances leads to significant differences in tax
  reports and accounting entries because of currency rate floats between
  dates in companies with international trade operations.

  Steps to reproduce:
  Company currency EUR
  Currency rates must exist for test dates.

  1. Create supplier invoice in USD. (note invoice create date! ), leave in draft state.
  2. After 3 days confirm invoice.

  Results: 
  account.invoice.tax values are different from corresponding accounting entries, what is wrong.

  Cause: 
  Difference arise from currency rate changes between invoice creation date and invoice confirmation date or changing invoice date while not recomputing taxes.

  account.invoice.tax is not recalculated while changing invoice state
  (values are calculated from invoice creation date's currency rate),
  but account.move.lines company currency values are calculated from
  invoice confirmation date's currency rate (if date not set) or invoice
  date's currency rate.

  Solution:
  Invoice write  function should perform additional cheks, and if necessary recompute account.invoice.tax  according to specific correct date.

  
  Normunds
  Alistek ltd

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