mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
15 lines
307 B
Python
15 lines
307 B
Python
import logging
|
|
|
|
from openupgradelib import openupgrade
|
|
|
|
_logger = logging.getLogger(__name__)
|
|
|
|
_field_renames = [
|
|
("pms.ses.communication", "pms_ses_communication", "communication_id", "batch_id"),
|
|
]
|
|
|
|
|
|
@openupgrade.migrate()
|
|
def migrate(env, version):
|
|
openupgrade.rename_fields(env, _field_renames)
|