[6.1 trunk] import suppliers fails

Bug #730285 reported by Bogdan Stanciu
This bug report is a duplicate of:  Bug #697129: import error in v6rc2. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
Unassigned

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

Revision history for this message
Bogdan Stanciu (bstanciu) wrote : Re: [Bug 730285] Re: [6.1 trunk] import suppliers fails

On 07. 03. 11 06:16, Amit Parik (OpenERP) wrote:
> *** 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
>
sorry about that!

i did search, but couldn't find this one.

the issue seems pretty complicated:-)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.