mirror of
https://github.com/odoo/runbot.git
synced 2025-03-17 08:25:46 +07:00

`runbot_merge.patch` is a mail.thread model added since the last
migration attempt, see 36786d51c8
9 lines
475 B
Python
9 lines
475 B
Python
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")
|