mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[12.0][MIG] scrap_reason_code
This commit is contained in:
@@ -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)",
|
||||
|
||||
@@ -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)
|
||||
Reference in New Issue
Block a user