mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[MIG] Migrated mrp_progress_button to v12
This commit is contained in:
committed by
AaronHForgeFlow
parent
6dd4d711d4
commit
3063248b4b
@@ -14,7 +14,7 @@ class TestProgressButton(TransactionCase):
|
||||
self.stock_location_stock = self.env.ref('stock.stock_location_stock')
|
||||
self.manufacture_route = self.env.ref(
|
||||
'mrp.route_warehouse0_manufacture')
|
||||
self.uom_unit = self.env.ref('product.product_uom_unit')
|
||||
self.uom_unit = self.env.ref('uom.product_uom_unit')
|
||||
|
||||
self.product_manuf = self.env['product.product'].create({
|
||||
'name': 'Manuf',
|
||||
@@ -67,3 +67,4 @@ class TestProgressButton(TransactionCase):
|
||||
})
|
||||
production.action_progress()
|
||||
self.assertEqual(production.state, 'progress')
|
||||
|
||||
Reference in New Issue
Block a user