← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 707871] Re: cannot export data

 

Uncommited temporarily from trunk, will be there again when we resync
6.0 and trunk during this week

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/707871

Title:
  cannot export data

Status in OpenERP Web Client:
  Fix Released

Bug description:
  trunk, web, 
  install a db with demo data. Go to Admin, Users, Users and then, try to export user name. 

  Traceback (most recent call last):
    File "/home/aline/openerp/trunk/server/bin/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/home/aline/openerp/trunk/server/bin/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/aline/openerp/trunk/server/bin/osv/orm.py", line 670, in export_data
      for row in self.browse(cr, uid, ids, context):
    File "/home/aline/openerp/trunk/server/bin/osv/orm.py", line 537, in browse
      return self._list_class([browse_record(cr, uid, id, self, cache, context=context, list_class=self._list_class, fields_process=fields_process) for id in select], context=context)
    File "/home/aline/openerp/trunk/server/bin/osv/orm.py", line 156, in __init__
      raise BrowseRecordError(_('Wrong ID for the browse record, got %r, expected an integer.') % (id,))
  BrowseRecordError: Wrong ID for the browse record, got 0, expected an integer.





References