c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #00265
[Bug 660907] [NEW] Account Voucher on_change_journal_voucher method ERROR
Public bug reported:
When I set a journal on Account Voucher object then getting error
message:
File "/home/jacara/Pydev-workspace/monoserp/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/jacara/Pydev-workspace/monoserp/service/web_services.py", line 586, in dispatch
res = fn(db, uid, *params)
File "/home/jacara/Pydev-workspace/monoserp/osv/osv.py", line 57, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/jacara/Pydev-workspace/monoserp/osv/osv.py", line 140, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/jacara/Pydev-workspace/monoserp/osv/osv.py", line 130, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/jacara/Pydev-workspace/monoserp/osv/orm.py", line 2960, in read
select = map(lambda x: isinstance(x, dict) and x['id'] or x, select)
File "/home/jacara/Pydev-workspace/monoserp/osv/orm.py", line 2960, in <lambda>
select = map(lambda x: isinstance(x, dict) and x['id'] or x, select)
KeyError: 'id'
addons revision 4332
server revision 2870
** Affects: openobject-addons
Importance: Undecided
Status: New
--
Account Voucher on_change_journal_voucher method ERROR
https://bugs.launchpad.net/bugs/660907
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:
When I set a journal on Account Voucher object then getting error message:
File "/home/jacara/Pydev-workspace/monoserp/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/jacara/Pydev-workspace/monoserp/service/web_services.py", line 586, in dispatch
res = fn(db, uid, *params)
File "/home/jacara/Pydev-workspace/monoserp/osv/osv.py", line 57, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/jacara/Pydev-workspace/monoserp/osv/osv.py", line 140, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/jacara/Pydev-workspace/monoserp/osv/osv.py", line 130, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/jacara/Pydev-workspace/monoserp/osv/orm.py", line 2960, in read
select = map(lambda x: isinstance(x, dict) and x['id'] or x, select)
File "/home/jacara/Pydev-workspace/monoserp/osv/orm.py", line 2960, in <lambda>
select = map(lambda x: isinstance(x, dict) and x['id'] or x, select)
KeyError: 'id'
addons revision 4332
server revision 2870
Follow ups
References