c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #18546
[Bug 730285] Re: [6.1 trunk] import suppliers fails
*** This bug is a duplicate of bug 697129 ***
https://bugs.launchpad.net/bugs/697129
** This bug has been marked a duplicate of bug 697129
import error in v6rc2
* You can subscribe to bug 697129 by following this link: https://bugs.launchpad.net/openobject-server/+bug/697129/+subscribe
--
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/730285
Title:
[6.1 trunk] import suppliers fails
Status in OpenERP Modules (addons):
New
Bug description:
while trying to import a list of suppliers, an error occurs, and
nothing gets imported. The list is an export form another OpenERP db.
1. Open Accounting/Suppliers/Suppliers
2. from menu : Form/Import Data
3. Select file
4. auto-detect, OK
error:
[2011-03-06 22:02:29,882][bs_02] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 861, in import_data
process_liness(self, datas, [], current_module, self._name, fields_def, position=position)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 794, in process_liness
res2 = process_liness(self, datas, prefix + [field[len(prefix)]], current_module, relation_obj._name, newfd, pos, first)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 770, in process_liness
if field[len(prefix)]=='id':
IndexError: list index out of range
then the same traceback appears in a modal message window (XML-RPC),
and after clicking cancel the client shuts down.
The client shuts down also on any error message e.g. missing column.
thank you!
bogdan
Follow ups
References