c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #13937
[Bug 707871] [NEW] cannot export data
Public bug reported:
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.
** Affects: openobject-client-web
Importance: High
Assignee: OpenERP SA's Web Client R&D (openerp-dev-web)
Status: Confirmed
** Changed in: openobject-client-web
Importance: Undecided => High
** Changed in: openobject-client-web
Status: New => Confirmed
** Changed in: openobject-client-web
Assignee: (unassigned) => OpenERP SA's Web Client R&D (openerp-dev-web)
--
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:
Confirmed
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.
Follow ups
References