mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[ADD] runbot_merge: 17.0 migration
`message_main_attachment_id` removed from `mail.thread` in odoo/odoo@f8c7f2e5bb (16.2), however precise inheritance tracking was only added in odoo/odoo@b27eb20a41 (17.1), so stock migration only handles stock models for this migration.
This commit is contained in:
parent
aa1df22657
commit
36786d51c8
7
runbot_merge/migrations/17.0.1.15/pre-migration.py
Normal file
7
runbot_merge/migrations/17.0.1.15/pre-migration.py
Normal file
@ -0,0 +1,7 @@
|
||||
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.pull_requests", "message_main_attachment_id")
|
||||
util.remove_field(cr, "runbot_merge.pull_requests.feedback.template", "message_main_attachment_id")
|
Loading…
Reference in New Issue
Block a user