Import csv with GTK client

Bug #319257 reported by Sebastien LANGE - http://www.Syleam.fr
2
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

With a french user, I tried to import users via csv file and I've got this issue :

Traceback (most recent call last):
  File "/home/syleam/trunk/openerp/server/bin/netsvc.py", line 226, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/home/syleam/trunk/openerp/server/bin/netsvc.py", line 74, in __call__
    return getattr(self, method)(*params)
  File "/home/syleam/trunk/openerp/server/bin/service/web_services.py", line 451, in execute
    res = service.execute(db, uid, object, method, *args)
  File "/home/syleam/trunk/openerp/server/bin/osv/osv.py", line 59, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/syleam/trunk/openerp/server/bin/osv/osv.py", line 119, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/syleam/trunk/openerp/server/bin/osv/osv.py", line 111, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/syleam/trunk/openerp/server/bin/osv/orm.py", line 638, in import_data
    noupdate=noupdate)
  File "/home/syleam/trunk/openerp/server/bin/addons/base/ir/ir_model.py", line 484, in _update
    res_id = model_obj.create(cr, uid, values)
  File "/home/syleam/trunk/openerp/server/bin/osv/orm.py", line 2397, in create
    self._columns[field].set(cr, self, id_new, field, vals[field], user, context)
  File "/home/syleam/trunk/openerp/server/bin/osv/fields.py", line 518, in set
    if act[0] == 0:
TypeError: 'int' object is unsubscriptable

Please find a csv file on attachment.

Revision history for this message
Sebastien LANGE - http://www.Syleam.fr (alnslang) wrote :
Changed in openobject-server:
status: New → Confirmed
Revision history for this message
Stephane Wirtel (OpenERP) (stephane-openerp) wrote :

Fixed in trunk - <email address hidden>

Changed in openobject-server:
status: Confirmed → Fix Released
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.