mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
13 lines
383 B
Python
13 lines
383 B
Python
# Copyright 2021 Tecnativa - Víctor Martínez
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
from openupgradelib import openupgrade # pylint: disable=W7936
|
|
|
|
field_renames = [
|
|
("base.comment.template", "base_comment_template", "priority", "sequence"),
|
|
]
|
|
|
|
|
|
@openupgrade.migrate()
|
|
def migrate(env, version):
|
|
openupgrade.rename_fields(env, field_renames)
|