odoo-openupgrade-wizard/ROADMAP.md

2.3 KiB

TODO

  • with coop it easy :
  • short_help of group decorator ? seems useless...

V12 : Python 3.5.3 (default, Apr 5 2021, 09:00:41)

# See : https://github.com/OCA/openupgradelib/issues/248
# https://github.com/OCA/openupgradelib/issues/288
_LEGACY_OPENUPGRADELIB = (
    "git+https://github.com/OCA/openupgradelib.git"
    "@ed01555b8ae20f66b3af178c8ecaf6edd110ce75#egg=openupgradelib"
)

# List of the series of odoo
# python version is defined, based on the OCA CI.
# https://github.com/OCA/oca-addons-repo-template/blob/master/src/.github/workflows/%7B%25%20if%20ci%20%3D%3D%20'GitHub'%20%25%7Dtest.yml%7B%25%20endif%20%25%7D.jinja

py310 is not available, due to dependencies to odoorpc that raise an error : ERROR tests/cli_A_init_test.py - AttributeError: module 'collections' has no attribute 'MutableMapping'

tips

# execute sql request in postgres docker
docker exec db psql --username=odoo --dbname=test_v12 -c "update res_partner set ""email"" = 'bib@bqsdfqsdf.txt';"

TODO Must Have

  • Fix via another way the problem of old openupgradelib. (it makes the upgrade failing for old revision (V8, etc...))

  • Fix gitlab CI. tests are working locally but there is a network problem to use odoorpc on gitlab-ci.

TODO Features

  • select without-demo all depending on if the database is created or not (, and if current database contains demo data ?!?)

  • add a tools to analyze workload.

  • execute pre-migration.sql files.

TODO Nice To have

  • Fix gitlabci-local. For the time being, it is not possible to debug locally. (there are extra bugs locally that doesn't occures on gitlab, in cli_B_03_run_test.py...

  • .absolute() has been added in test to try to fix some things, but maybe it's not necessary.