During the upgrade process on branch BrStaging, there are errors in the log panel. Some obsolete custom Modules or Views are the cause of these errors. To disable or uninstall them, we have to use sql queries because we cannot enter odoo which cannot start, using in Odoo-sh> SHELL-Tab, the shell command : psql:
To disable a view
UPDATE public.ir_ui_view SET active = false WHERE id = 10381;
To disable/unsinstall a module
UPDATE ir_module_module set state='to remove' WHERE name in ('my_custom_module') and state='installed';
...have tried that request too:
UPDATE ir_module_module set state='unistallable' WHERE name in ('my_custom_module') and state='installed';
...But it doesn t work ! How to disable a view and uninstall a module during the upgrade process from v13 to v15 ??