mirror of
https://github.com/inventree/InvenTree.git
synced 2026-09-01 17:51:23 +00:00
* typo fxes from #10699 * bump api version
This commit is contained in:
@@ -988,7 +988,7 @@ class PurchaseOrder(TotalPriceMixin, Order):
|
||||
|
||||
# Before we continue, validate that each line item is valid
|
||||
# We validate this here because it is far more efficient,
|
||||
# after we have fetched *all* line itemes in a single DB query
|
||||
# after we have fetched *all* line items in a single DB query
|
||||
for line_item in line_item_map.values():
|
||||
if line_item.order != self:
|
||||
raise ValidationError({_('Line item does not match purchase order')})
|
||||
|
||||
Reference in New Issue
Block a user