openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #06088
[Bug 924996] Re: 'field0' error while data export (base_report_creator)
** Project changed: openobject-addons => openobject-server
** Changed in: openobject-server
Importance: Undecided => Medium
** Changed in: openobject-server
Status: New => Confirmed
** Changed in: openobject-server
Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/924996
Title:
'field0' error while data export (base_report_creator)
Status in OpenERP Server:
Confirmed
Bug description:
Hello ,
I create a new customized report with the module base_report_creator,
then I open it, and try to export the records list to a CSV file, when
I do that, knowing that i checked the "compatible import" checkbox, I
get an error, here is the Traceback :
Environment Information :
System : Linux-2.6.32-37-generic-i686-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04.3 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-37-generic
Operating System Version : #81-Ubuntu SMP Fri Dec 2 20:35:14 UTC 2011
Operating System Architecture : 32bit
Operating System Locale : fr_FR.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.3
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/opt/Instances/Prod/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/opt/Instances/Prod/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/opt/Instances/Prod/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/opt/Instances/Prod/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/Instances/Prod/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/Instances/Prod/bin/osv/orm.py", line 681, in export_data
datas += self.__export_row(cr, uid, row, fields_to_export, context)
File "/opt/Instances/Prod/bin/osv/orm.py", line 595, in __export_row
r = r[f[i]]
File "/opt/Instances/Prod/bin/osv/orm.py", line 189, in __getitem__
name, self))
KeyError: "Field 'field0' does not exist in object 'browse_record(base_report_creator_report.result, 8)'"
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/924996/+subscriptions
References