mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-02 19:50:59 +00:00
Assign multiple stock items to a customer at one
This commit is contained in:
@ -818,7 +818,7 @@ class StockAssignTest(StockAPITestCase):
|
||||
|
||||
stock_item = StockItem.objects.create(
|
||||
part=part.models.Part.objects.get(pk=1),
|
||||
quantity=i+5,
|
||||
quantity=i + 5,
|
||||
)
|
||||
|
||||
stock_items.append({
|
||||
@ -829,7 +829,7 @@ class StockAssignTest(StockAPITestCase):
|
||||
|
||||
self.assertEqual(customer.assigned_stock.count(), 0)
|
||||
|
||||
response = self.post(
|
||||
self.post(
|
||||
self.URL,
|
||||
data={
|
||||
'items': stock_items,
|
||||
|
Reference in New Issue
Block a user