[REF] purchase_mrp_subcontracting: tests: adapt to valuation layers
- read the value of a move on its linked valuation layer task-1875873
This commit is contained in:
@@ -107,7 +107,6 @@ class TestPurchaseSubcontractingFlows(TransactionCase):
|
||||
move1 = picking1.move_lines[0]
|
||||
move1.quantity_done = 1
|
||||
picking1.button_validate()
|
||||
self.assertEqual(mo.move_finished_ids.value, 60)
|
||||
# waiting forward port of 67ea26460ff27d6a
|
||||
# self.assertEqual(mo.move_finished_ids.product_id.stock_value, 60)
|
||||
self.assertEqual(mo.move_finished_ids.stock_valuation_layer_ids.value, 60)
|
||||
self.assertEqual(mo.move_finished_ids.product_id.value_svl, 60)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user