currency error in analytic account (solved)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
I have a problem with 3 machines (at least):
M1: oerpserver 5.0.11 (local instance)
M2: oerpserver 5.0.11 (development server)
M3: oerpserver 5.0.14 (local instance)
1. On M3 I import data (using spreadsheet).
2. I backup the database (using Postgres dump)
3. On M1 I restore the database (using Postgres restore)
4 On M2 I restore the database (using Postgres restore)
Now, on M1 things work as expected. However, on M2 I get an error when displaying an account.
I get the following error:
Traceback (most recent call last):
File "/usr/lib/
result = LocalService(
File "/usr/lib/
return getattr(self, method)(*params)
File "/usr/lib/
res = super(recording
File "/usr/lib/
res = service.execute(db, uid, object, method, *args)
File "/usr/lib/
return f(self, dbname, *args, **kwargs)
File "/usr/lib/
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/
result = self._read_flat(cr, user, select, fields, context, load)
File "/usr/lib/
res2 = self._columns[
File "/usr/lib/
res = self._fnct(obj, cr, user, ids, name, self._arg, context)
File "/usr/lib/
if currency[
KeyError: 103
The most obvious reason would be that M3 handles things differently (for example the import of data). But the M1 machine still works..
Furthermore the M2 machine works correctly without the imported data (clean install with same set of modules).
Maybe you have an idea what may be the reason, and why it is so specific.
Thanks in advance!
Hello Hannes,
We have fixed it in 5.0.12.
Please get the code/version updated or apply the patch as given here : bazaar. launchpad. net/~openerp/ openobject- addons/ 5.0/revision/ 2752
http://
If I remember correctly, you already had applied patch earlier.
Thanks.