← Back to team overview

openerp-india team mailing list archive

[Bug 907388] Re: [Trunk]base_syncho gives a error

 

** Branch linked: lp:~openerp-dev/openobject-addons/trunk-bug-907388-nco

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/907388

Title:
  [Trunk]base_syncho gives a error

Status in OpenERP Addons (modules):
  Fix Committed

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


References