mirror of
https://gitlab.com/flectra-community/account-financial-reporting.git
synced 2024-11-15 02:02:04 +00:00
18 lines
375 B
Python
18 lines
375 B
Python
# Copyright 2020 Ozono Multimedia S.L.L.
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
from openupgradelib import openupgrade
|
|
|
|
field_renames = [
|
|
(
|
|
"account.move",
|
|
"account_move",
|
|
"move_type",
|
|
"financial_type",
|
|
),
|
|
]
|
|
|
|
|
|
@openupgrade.migrate()
|
|
def migrate(env, version):
|
|
openupgrade.rename_fields(env, field_renames)
|