c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #00021
[Bug 659183] Re: currency error in analytic account
*** This bug is a duplicate of bug 592005 ***
https://bugs.launchpad.net/bugs/592005
Hello Hannes,
We have fixed it in 5.0.12.
Please get the code/version updated or apply the patch as given here :
http://bazaar.launchpad.net/~openerp/openobject-addons/5.0/revision/2752
If I remember correctly, you already had applied patch earlier.
Thanks.
** Changed in: openobject-addons
Milestone: None => 5.0.15
** This bug has been marked a duplicate of bug 592005
Analytic Chart of Accounts not displaying
* You can subscribe to bug 592005 by following this link: https://bugs.launchpad.net/openobject-addons/+bug/592005/+subscribe
--
currency error in analytic account
https://bugs.launchpad.net/bugs/659183
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.
Status in OpenObject Addons Modules: New
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.analytic.account tree that contains a balance column.
I get the following error:
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 247, in dispatch
result = LocalService(service_name)(method, *params)
File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 76, in __call__
return getattr(self, method)(*params)
File "/usr/lib/python2.5/site-packages/openerp-server/addons/base_module_record/base_module_record.py", line 38, in execute
res = super(recording_objects_proxy, self).execute(*args, **argv)
File "/usr/lib/python2.5/site-packages/openerp-server/service/web_services.py", line 577, in execute
res = service.execute(db, uid, object, method, *args)
File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 58, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 119, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 111, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/python2.5/site-packages/openerp-server/osv/orm.py", line 2228, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/usr/lib/python2.5/site-packages/openerp-server/osv/orm.py", line 2360, in _read_flat
res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
File "/usr/lib/python2.5/site-packages/openerp-server/osv/fields.py", line 659, in get
res = self._fnct(obj, cr, user, ids, name, self._arg, context)
File "/usr/lib/python2.5/site-packages/openerp-server/addons/account/project/project.py", line 133, in _balance_calc
if currency[child]<>currency[id]:
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!