[5.0] GTK import fail when use relation ID field
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Medium
|
Harry (OpenERP) |
Bug Description
Server revno: 1813
Addons revno: 2375
Client revno: 976
I try to import Partner and his address, with GTK Client
i import successfully the res.partner CSV File
"ID","Name","Code"
2113,"RATP",7010700
2117,"CLEARSY"
This import work succesfully, but when i try to import res.partner.address it fail with traceback
"ID","Street"
4136,"54 Quai de la Rapée",
I suspect problem on Partner/ID field.
-------
Environment Information :
System : Linux-2.
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 8.10
Release: 8.10
Codename: intrepid
Operating System Release : 2.6.27-11-generic
Operating System Version : #1 SMP Wed Apr 1 20:57:48 UTC 2009
Operating System Architecture : 32bit
Operating System Locale : fr_FR.UTF8
Python Version : 2.5.2
OpenERP-Client Version : 5.0.2
Last revision No. & ID : 976 <email address hidden>
Traceback (most recent call last):
File "/home/
result = LocalService(
File "/home/
return getattr(self, method)(*params)
File "/home/
res = service.execute(db, uid, object, method, *args)
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
process_
File "/home/
reduce(lambda x, y: x and y, newrow)
TypeError: reduce() of empty sequence with no initial value
-------
Distribution: Ubuntu
Version: 8.10 (intrepid)
Python 2.5.2
Locale:
LANG=fr_FR.UTF-8
Related branches
affects: | openobject-client → openobject-server |
Changed in openobject-server: | |
assignee: | nobody → Harry (Open ERP) (hmo-tinyerp) |
importance: | Undecided → Medium |
Changed in openobject-server: | |
status: | New → Confirmed |
Changed in openobject-server: | |
status: | Confirmed → In Progress |
Hello! win_client. patch on stable-gtk-client
Can you apply this patches for your problem
1. orm.patch on stable-server
2. client_