Skip to Content
Menu
This question has been flagged
1202 Views

openerp7

Technical Name    base_synchro
License    Affero GPL-3
Latest Version    7.0.1.2


odoo12

Technical Name    base_synchro
License    Affero GPL-3
Latest Version    12.0.1.0.0


I am just trying to sync objects (contacts) from 7 to 12.




Odoo Server Error

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 656, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 314, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 87, in reraise
    raise value
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 698, in dispatch
    result = self._call_function(**self.params)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 346, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 98, in wrapper
    return f(dbname, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 339, in checked_call
    result = self.endpoint(*a, **kw)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 941, in __call__
    return self.method(*args, **kw)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 519, in response_wrap
    response = f(*args, **kw)
  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 966, in call_button
    action = self._call_kw(model, method, args, {})
  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 954, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/usr/lib/python3/dist-packages/odoo/api.py", line 759, in call_kw
    return _call_kw_multi(method, model, args, kwargs)
  File "/usr/lib/python3/dist-packages/odoo/api.py", line 746, in _call_kw_multi
    result = method(recs, *args, **kwargs)
  File "/mnt/extra-addons/base_synchro/wizard/base_synchro.py", line 291, in upload_download_multi_thread
    target=self.upload_download())
  File "/mnt/extra-addons/base_synchro/wizard/base_synchro.py", line 255, in upload_download
    self.synchronize(server, obj_rec)
  File "/mnt/extra-addons/base_synchro/wizard/base_synchro.py", line 96, in synchronize
    [('id', '=', sync_id)])[0]
  File "/mnt/extra-addons/base_synchro/wizard/base_synchro.py", line 35, in <lambda>
    self.ressource, name, *args)
  File "/usr/lib/python3.5/xmlrpc/client.py", line 1092, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python3.5/xmlrpc/client.py", line 1432, in __request
    verbose=self.__verbose
  File "/usr/lib/python3.5/xmlrpc/client.py", line 1134, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python3.5/xmlrpc/client.py", line 1150, in single_request
    return self.parse_response(resp)
  File "/usr/lib/python3.5/xmlrpc/client.py", line 1322, in parse_response
    return u.close()
  File "/usr/lib/python3.5/xmlrpc/client.py", line 655, in close
    raise Fault(**self._stack[0])
xmlrpc.client.Fault: <Fault 'res.partner' object has no attribute 'search_read': 'Traceback (most recent call last):\n  File "/home/software/openerp/openerp/service/wsgi_server.py", line 82, in xmlrpc_return\n    result = openerp.netsvc.dispatch_rpc(service, method, params)\n  File "/home/software/openerp/openerp/netsvc.py", line 306, in dispatch_rpc\n    result = ExportService.getService(service_name).dispatch(method, params)\n  File "/home/software/openerp/openerp/service/web_services.py", line 632, in dispatch\n    res = fn(db, uid, *params)\n  File "/home/software/openerp/openerp/osv/osv.py", line 132, in wrapper\n    return f(self, dbname, *args, **kwargs)\n  File "/home/software/openerp/openerp/osv/osv.py", line 199, in execute\n    res = self.execute_cr(cr, uid, obj, method, *args, **kw)\n  File "/home/software/openerp/openerp/osv/osv.py", line 187, in execute_cr\n    return getattr(object, method)(cr, uid, *args, **kw)\nAttributeError: \'res.partner\' object has no attribute \'search_read\'\n'>

I do not get why it is complaining about search_read attribute, the idea is that you transfer attributes that exists not?


Avatar
Discard