refactor(backend): port typo fixes from #10699 (#10926)

* typo fxes from #10699

* bump api version
This commit is contained in:
Matthias Mair
2025-11-29 07:03:02 +11:00
committed by GitHub
parent 3b6b702bd5
commit be5814112d
8 changed files with 22 additions and 19 deletions
+1 -1
View File
@@ -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')})