← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 697129] Re: import error in v6rc2

 

Hello,

Our R&D Teams are focused on the latest OpenERP version, and this issue
does not affect it.

Our policy is to keep the changes applied on stable branches to a
minimum, in order to limit the regression risks for customers that are
in production. This means that bugs reported on Launchpad are fixed in
the trunk branch only by default, even if they were reported against
other stable versions.

We stand of course ready to backport the change to stable releases if it
has an impact on any customer. In this case please report it to our
maintenance team via the OpenERP Publisher's Warranty. They will quickly
help solve the issue and backport the fix if needed.

Thank you for your understanding!



** Changed in: openobject-server
       Status: New => Won't Fix

-- 
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/697129

Title:
  import error in v6rc2

Status in OpenObject Server:
  Won't Fix

Bug description:
  hi,
i am trying to manually migrate from v5.0.15 to v6.rc2.  i am trying by simple export and import method. is that wrong?

anyway,i got some problems so i thought maybe i should familiarize with the process a little more.s i made a new database with demo data loaded in v6 and another configured but emty database .i tried to import/export in the same versions from loaded with demo data databse to the empty one.

with this senario i got this exception.

i go to address book in sales and export with these fields: account payable and recievable and the name. 
i import this csv file in the empty database and everything is dandy.
 
but as soon as i add contacts and contacts name,when i want to import it gives :
  File "/home/nima/Desktop/openerp-server-6.0.0-rc2/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/nima/Desktop/openerp-server-6.0.0-rc2/bin/service/web_services.py", line 598, in dispatch
    res = fn(db, uid, *params)
  File "/home/nima/Desktop/openerp-server-6.0.0-rc2/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/nima/Desktop/openerp-server-6.0.0-rc2/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/nima/Desktop/openerp-server-6.0.0-rc2/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/nima/Desktop/openerp-server-6.0.0-rc2/bin/osv/orm.py", line 858, in import_data
    process_liness(self, datas, [], current_module, self._name, fields_def, position=position)
  File "/home/nima/Desktop/openerp-server-6.0.0-rc2/bin/osv/orm.py", line 791, in process_liness
    res2 = process_liness(self, datas, prefix + [field[len(prefix)]], current_module, relation_obj._name, newfd, pos, first)
  File "/home/nima/Desktop/openerp-server-6.0.0-rc2/bin/osv/orm.py", line 767, in process_liness
    if field[len(prefix)]=='id':
IndexError: list index out of range

i don't get an idea what causes this error.





References