Neutralization script - odoo-ps/psbe-process GitHub Wiki
Connect to the Odoo.sh production branch webshell. Connect to the database by entering "psql" and copy paste the followings :
/* remove the report.url */
DELETE FROM ir_config_parameter WHERE key = 'report.url';
/* remove enterprise code */
DELETE FROM ir_config_parameter WHERE key = 'database.enterprise_code';
/* deactivate crons */
UPDATE ir_cron SET active = 'f';
/* set database expiration date to 2050 */
UPDATE ir_config_parameter SET value='2050-01-01' WHERE key = 'database.expiration_date';
/* deactivate mail_servers */
UPDATE ir_mail_server SET active = 'f';
/* disable mobile push notifications */
DELETE FROM ir_config_parameter WHERE key IN ('ocn.ocn_push_notification','odoo_ocn.project_id', 'ocn.uuid');
/* remove saas modules */
UPDATE ir_module_module SET state='uninstalled' WHERE name ilike '%saas%';
/* remove view from saas */
DELETE FROM ir_ui_view WHERE name ilike '%saas%';