[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 John Herholz
parent b5a8ea0424
commit c17c8daced
10 changed files with 49 additions and 30 deletions

View File

@@ -31,7 +31,7 @@ class StockScrap(TransactionCase):
}
)
self.reason_code = self.env["reason.code"].create(
self.reason_code = self.env["scrap.reason.code"].create(
{
"name": "DM300",
"description": "Product is damage",