mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
fixup! [FIX] fix negative quant in blocked location
This commit is contained in:
committed by
Florian da Costa
parent
5766bfa2db
commit
68c4573f97
@@ -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',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user