c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #05508
[Bug 557325] Re: res_currency.compute should check for currency differences before any rate fetch
We should also double-check the code of compute for the
"account.move.line" reference
** Changed in: openobject-server
Importance: Wishlist => Low
** Changed in: openobject-server
Status: Triaged => Confirmed
** Changed in: openobject-server
Milestone: 6.0 => 6.0-rc2
** Changed in: openobject-server
Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)
--
res_currency.compute should check for currency differences before any rate fetch
https://bugs.launchpad.net/bugs/557325
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Server: Confirmed
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.