diff --git a/odoo_openupgrade_wizard/cli/cli_shell.py b/odoo_openupgrade_wizard/cli/cli_shell.py index 2c59eb9..6dbb572 100644 --- a/odoo_openupgrade_wizard/cli/cli_shell.py +++ b/odoo_openupgrade_wizard/cli/cli_shell.py @@ -81,6 +81,7 @@ def shell(ctx, step, database, code): "/odoo_env/src/odoo/odoo-bin", "shell", "--no-http", + "--shell-interface=iptyhon", ] + common_options logger.info(f"Command: {' '.join(command)}") diff --git a/odoo_openupgrade_wizard/templates/odoo/extra_python_requirements.txt.j2 b/odoo_openupgrade_wizard/templates/odoo/extra_python_requirements.txt.j2 index 75f29a2..66a122d 100644 --- a/odoo_openupgrade_wizard/templates/odoo/extra_python_requirements.txt.j2 +++ b/odoo_openupgrade_wizard/templates/odoo/extra_python_requirements.txt.j2 @@ -7,3 +7,4 @@ git+https://github.com/OCA/openupgradelib@master#egg=openupgradelib # dependencies of the module OCA/server-tools 'upgrade_analysis' odoorpc mako +ipython # used by default by shell command