mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[ADD] migration script, change model name from reason.code to scrap.reason.code
This commit is contained in:
committed by
Pierrick Brun
parent
d869699f1c
commit
fb0b08c270
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user