← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 557325] Re: res_currency.compute should check for currency differences before any rate fetch

 

Hello,

This suggestion has been implemented, and we have also removed all references to "account" in "base" and moved all account-related code to the account module. This is effective as of the following revisions:
- server: rev. 3150 odo@xxxxxxxxxxx-20101222161045-65kzccw65ya55jm9
- addons: rev. 4042 odo@xxxxxxxxxxx-20101222160926-0eprbvw7wvqked81

Thanks reporting, this allowed us to improve other things as well!

** Changed in: openobject-server
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/557325

Title:
  res_currency.compute should check for currency differences before any rate fetch

Status in OpenObject Server:
  Fix Released

Bug description:
  The code in res_currency.compute can be optimized by checking whether we are working with different currencies or not before fetching any conversion rate from the database. Doing it this way we make easier to work when working with only one currency, without taking care of having the current conversion rates already loaded in the database. Actually I've found this by creating an invoice with EUR-only products and customers for a date before 2010-01-01, which is the date of the oldest EUR conversion rate stored in the database.