[ADD] migration script, change model name from reason.code to scrap.reason.code

This commit is contained in:
Bhavesh Odedra
2020-03-27 17:37:22 +05:30
committed by Chandresh Thakkar
parent f946aabd1f
commit 3a086381fb
10 changed files with 49 additions and 30 deletions

View File

@@ -5,8 +5,8 @@
from odoo import fields, models
class ReasonCode(models.Model):
_name = "reason.code"
class ScrapReasonCode(models.Model):
_name = "scrap.reason.code"
_description = "Reason Code"
name = fields.Char("Code", required=True)