OpenUpgrade mailing list archives

openupgrade@odoo-community.org

Avatar

OpenUpgrade Analysis between 9.0 and 12.0

by
Coop IT Easy SC agréée, Rémy Taymans
- 03/06/2020 10:54:50
Dear community,
It's Rémy from Coop IT Easy. I'm trying to migrate a database from
version 9.0 to version 12.0.

I use OpenUpgrade and I try to use the analysis feature of OpenUpgrade
to get differences between some of our custom modules.

I followed this documentation: https://doc.therp.nl/openupgrade/analyse.html

I created two separated environments for odoo 9.0 and 12.0. Each runs on
separated databases with just some of our custom module installed.
Everything works fine until I try to perform the analysis.

I got the following error message:
  Traceback (most recent call last):
    File "/home/remy/Programmation/cie/env/modoo12/openupgrade/odoo/http.py", line 656, in _handle_exception
      return super(JsonRequest, self)._handle_exception(exception)
    File "/home/remy/Programmation/cie/env/modoo12/openupgrade/odoo/http.py", line 314, in _handle_exception
      raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
    File "/home/remy/Programmation/cie/env/modoo12/openupgrade/odoo/tools/pycompat.py", line 87, in reraise
      raise value
    File "/home/remy/Programmation/cie/env/modoo12/openupgrade/odoo/http.py", line 698, in dispatch
      result = self._call_function(**self.params)
    File "/home/remy/Programmation/cie/env/modoo12/openupgrade/odoo/http.py", line 346, in _call_function
      return checked_call(self.db, *args, **kwargs)
    File "/home/remy/Programmation/cie/env/modoo12/openupgrade/odoo/service/model.py", line 98, in wrapper
      return f(dbname, *args, **kwargs)
    File "/home/remy/Programmation/cie/env/modoo12/openupgrade/odoo/http.py", line 339, in checked_call
      result = self.endpoint(*a, **kw)
    File "/home/remy/Programmation/cie/env/modoo12/openupgrade/odoo/http.py", line 941, in __call__
      return self.method(*args, **kw)
    File "/home/remy/Programmation/cie/env/modoo12/openupgrade/odoo/http.py", line 519, in response_wrap
      response = f(*args, **kw)
    File "/home/remy/Programmation/cie/env/modoo12/openupgrade/addons/web/controllers/main.py", line 966, in call_button
      action = self._call_kw(model, method, args, {})
    File "/home/remy/Programmation/cie/env/modoo12/openupgrade/addons/web/controllers/main.py", line 954, in _call_kw
      return call_kw(request.env[model], method, args, kwargs)
    File "/home/remy/Programmation/cie/env/modoo12/openupgrade/odoo/api.py", line 759, in call_kw
      return _call_kw_multi(method, model, args, kwargs)
    File "/home/remy/Programmation/cie/env/modoo12/openupgrade/odoo/api.py", line 746, in _call_kw_multi
      result = method(recs, *args, **kwargs)
    File "/home/remy/Programmation/cie/env/modoo12/openupgrade/odoo/addons/openupgrade_records/models/analysis_wizard.py", line 65, in get_communication
      res = compare.compare_sets(remote_records, local_records)
    File "/home/remy/Programmation/cie/env/modoo12/openupgrade/odoo/addons/openupgrade_records/lib/compare.py", line 215, in compare_sets
      'isfunction', 'isrelated', 'required', 'table', 'oldname'])
    File "/home/remy/Programmation/cie/env/modoo12/openupgrade/odoo/addons/openupgrade_records/lib/compare.py", line 205, in match
      report_generic(found, column, report_fields, reprs)
    File "/home/remy/Programmation/cie/env/modoo12/openupgrade/odoo/addons/openupgrade_records/lib/compare.py", line 119, in report_generic
      if old[attr] != new[attr]:
  KeyError: 'stored'

Does anyone knows something about this error? Am'I doing something
wrong?

Thanks for your help,

--
Rémy Taymans @ Coop IT Easy
+32 493 02 69 85 - 

Follow-Ups