From 8c70e44ae908939c96fd3d9485573648d85dcd7c Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Thu, 21 Nov 2024 15:47:09 +0100 Subject: [PATCH] [IMP] runbot)merge: 17.0 migration `runbot_merge.patch` is a mail.thread model added since the last migration attempt, see 36786d51c8bc85eeeca9340740db4626ad239bf0 --- runbot_merge/migrations/17.0.1.15/pre-migration.py | 1 + 1 file changed, 1 insertion(+) diff --git a/runbot_merge/migrations/17.0.1.15/pre-migration.py b/runbot_merge/migrations/17.0.1.15/pre-migration.py index 9a74a23b..f53b5e34 100644 --- a/runbot_merge/migrations/17.0.1.15/pre-migration.py +++ b/runbot_merge/migrations/17.0.1.15/pre-migration.py @@ -3,5 +3,6 @@ from odoo.upgrade import util def migrate(cr, _version): util.remove_field(cr, "res.partner", "message_main_attachment_id") util.remove_field(cr, "runbot_merge.batch", "message_main_attachment_id") + util.remove_field(cr, "runbot_merge.patch", "message_main_attachment_id") util.remove_field(cr, "runbot_merge.pull_requests", "message_main_attachment_id") util.remove_field(cr, "runbot_merge.pull_requests.feedback.template", "message_main_attachment_id")