Hello Jacara,

Would you please check with the latest code.
Currently I am closing this bug. You can reopen this with proper description 
and steps if you will face similar problem again.

Thanks.

** Changed in: openobject-addons
   Importance: Undecided => Medium

** Changed in: openobject-addons
       Status: Incomplete => Fix Released

-- 
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 the OpenERP Project Group.

Status in OpenObject Addons Modules: Fix Released

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



_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to