diff --git a/stock_location_lockdown/tests/test_block_stock_location_entrance.py b/stock_location_lockdown/tests/test_block_stock_location_entrance.py index 85598d351..51dc3938f 100644 --- a/stock_location_lockdown/tests/test_block_stock_location_entrance.py +++ b/stock_location_lockdown/tests/test_block_stock_location_entrance.py @@ -25,7 +25,7 @@ class TestStockLocationLockdown(TransactionCase): 'location_id': self.supplier_location.id, 'location_dest_id': self.main_stock_location.id, 'product_id': self.product.id, - 'product_uom_qty': '2.0', + 'product_uom_qty': self.product.qty_available + 1, 'product_uom': 1, 'name': 'test', } @@ -42,7 +42,7 @@ class TestStockLocationLockdown(TransactionCase): 'location_id': self.main_stock_location.id, 'location_dest_id': self.customer_location.id, 'product_id': self.product.id, - 'product_uom_qty': '2.0', + 'product_uom_qty': self.product.qty_available + 1, 'product_uom': 1, 'name': 'test', }