credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #01964
[Bug 907388] [NEW] [Trunk]base_syncho gives a error
Public bug reported:
Steps:
1) I have created a server like screen-shot -1
2) I have created a Synchronized objects like screen-shot -2.
I have tried to synchronized the partner record and found following
traceback.
Traceback (most recent call last):
File "/home/amp/workspace/trunk6/server/openerp/osv/osv.py", line 120, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/amp/workspace/trunk6/server/openerp/osv/osv.py", line 172, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/amp/workspace/trunk6/server/openerp/osv/osv.py", line 163, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/amp/workspace/trunk6/addons/base_synchro/wizard/base_synchro.py", line 259, in upload_download_multi_thread
threaded_synchronization.run()
File "/usr/lib/python2.6/threading.py", line 484, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/amp/workspace/trunk6/addons/base_synchro/wizard/base_synchro.py", line 227, in upload_download
self.synchronize(cr, uid, server, object, context=context)
File "/home/amp/workspace/trunk6/addons/base_synchro/wizard/base_synchro.py", line 111, in synchronize
value = self.data_transform(cr, uid, pool_src, pool_dest, object.model_id.model, value, action, context=context)
File "/home/amp/workspace/trunk6/addons/base_synchro/wizard/base_synchro.py", line 204, in data_transform
df = self.relation_transform(cr, uid, pool_src, pool_dest, fields[f]['relation'], data[f][0], action, context=context)
TypeError: 'long' object is unsubscriptable
** Affects: openobject-addons
Importance: Medium
Assignee: OpenERP R&D Addons Team 2 (openerp-dev-addons2)
Status: Confirmed
--
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/907388
Title:
[Trunk]base_syncho gives a error
Status in OpenERP Addons (modules):
Confirmed
Bug description:
Steps:
1) I have created a server like screen-shot -1
2) I have created a Synchronized objects like screen-shot -2.
I have tried to synchronized the partner record and found following
traceback.
Traceback (most recent call last):
File "/home/amp/workspace/trunk6/server/openerp/osv/osv.py", line 120, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/amp/workspace/trunk6/server/openerp/osv/osv.py", line 172, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/amp/workspace/trunk6/server/openerp/osv/osv.py", line 163, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/amp/workspace/trunk6/addons/base_synchro/wizard/base_synchro.py", line 259, in upload_download_multi_thread
threaded_synchronization.run()
File "/usr/lib/python2.6/threading.py", line 484, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/amp/workspace/trunk6/addons/base_synchro/wizard/base_synchro.py", line 227, in upload_download
self.synchronize(cr, uid, server, object, context=context)
File "/home/amp/workspace/trunk6/addons/base_synchro/wizard/base_synchro.py", line 111, in synchronize
value = self.data_transform(cr, uid, pool_src, pool_dest, object.model_id.model, value, action, context=context)
File "/home/amp/workspace/trunk6/addons/base_synchro/wizard/base_synchro.py", line 204, in data_transform
df = self.relation_transform(cr, uid, pool_src, pool_dest, fields[f]['relation'], data[f][0], action, context=context)
TypeError: 'long' object is unsubscriptable
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/907388/+subscriptions
Follow ups
References