Skip to content

Commit 93a5df1

Browse files
committedMay 14, 2024
Fix Unit Test
1 parent 3e2a378 commit 93a5df1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎stock_orderpoint_secondary_unit/tests/test_stock_warehouse_orderpoint.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def test_product_replenishment(self):
9393
self.assertEqual(replenishment_order.secondary_uom_on_hand, 20.0)
9494
self.assertEqual(replenishment_order.secondary_uom_forecast, 20.0)
9595

96-
# Check when secondary_uom_qty is changed, qty_to_order is also changed
96+
# Check when secondary_uom_qty is changed manually, qty_to_order is also changed
9797
replenishment_order.secondary_uom_qty = 30.0
98+
replenishment_order.onchange_product_qty_to_order()
9899
self.assertEqual(replenishment_order.qty_to_order, 15.0)

0 commit comments

Comments
 (0)