[base] base_data.xml does not contain rates for some currencies

Bug #628193 reported by Olivier Dony (Odoo)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Status tracked in Trunk
5.0
Fix Released
Medium
Unassigned
Trunk
Fix Released
Medium
Unassigned

Bug Description

In both 5.0 and trunk, base_data.xml defines a lot of currencies but some of them don't have rates.
This prevents installing a database with demo data in case the user selects one of the currencies without rates during setup.

The likely reason for this is that the system tries to create demo invoices or other accounting objects using the company currency, and fails with a "No rate found for the currency ..." as soon as it tries to call res.currency.compute().

We need do add sample rates (even 1.0 would be ok) for all currencies that are present in base_data.xml.

Thanks!

Tags: 5.0 base trunk
tags: added: base
Changed in openobject-addons:
importance: Low → Medium
affects: openobject-addons → openobject-server
Changed in openobject-server:
milestone: 5.0.13 → none
milestone: none → 5.0.13
Changed in openobject-server:
status: Confirmed → In Progress
Changed in openobject-server:
milestone: 5.0.13 → 5.0.15
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

It has been fixed in trunk by revision 2697 <email address hidden>.
Thanks to Harry(OpenERP).

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

It has been fixed by revision 2113 <email address hidden> on stable.
Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.