[12.0][MIG] scrap_reason_code

This commit is contained in:
Héctor Villarreal Ortega
2022-03-09 18:47:41 +01:00
parent c091d199f2
commit cbcfbd3112
2 changed files with 1 additions and 15 deletions

View File

@@ -2,7 +2,7 @@
{
"name": "Scrap Reason Code",
"version": "13.0.1.1.1",
"version": "12.0.1.0.0",
"license": "AGPL-3",
"summary": "Reason code for scrapping",
"author": "Open Source Integrators, Odoo Community Association (OCA)",

View File

@@ -1,14 +0,0 @@
# Copyright (C) 2019 IBM Corp.
# Copyright (C) 2019 Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from openupgradelib import openupgrade
_model_renames = [
("reason.code", "scrap.reason.code"),
]
@openupgrade.migrate()
def migrate(env, version):
openupgrade.rename_models(env.cr, _model_renames)