[IMP] runbot)merge: 17.0 migration

`runbot_merge.patch` is a mail.thread model added since the last
migration attempt, see 36786d51c8
This commit is contained in:
Xavier Morel 2024-11-21 15:47:09 +01:00
parent 0106d7539f
commit 8c70e44ae9

View File

@ -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")