Delete unused crons esale

#048340
This commit is contained in:
Raimon Esteve 2022-04-27 15:20:23 +02:00 committed by GitHub
parent 10bca84f36
commit 1e00f4d5ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -489,6 +489,14 @@ before:
DELETE FROM res_user WHERE login IN ('user_cron_trigger');
DELETE FROM ir_model_data WHERE model='res.user' AND fs_id IN ('user_trigger');
- comment: # Delete unused crons esale
version: 5.4
query:
DELETE FROM ir_model_data where fs_id = 'cron_esale_import_order' and model = 'ir.cron';
DELETE FROM ir_model_data where fs_id = 'cron_esale_export_state' and model = 'ir.cron';
DELETE FROM res_user where id in (select db_id from ir_model_data where model = 'res.user' and module = 'esale' and fs_id = 'user_esale');
DELETE FROM ir_model_data where model = 'res.user' and module = 'esale' and fs_id = 'user_esale';
- comment: # Remove error translations
version: 5.1
query: DELETE FROM "ir_translation" WHERE "type" = 'error';