2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 03:55:41 +00:00

chore(backend): bump devtools (#9088)

* chore(backend):Bump devtools

* fix typos that are now detected
This commit is contained in:
Matthias Mair
2025-02-18 08:57:48 +01:00
committed by GitHub
parent 480536a023
commit 1d0540948f
6 changed files with 9 additions and 9 deletions

View File

@ -1716,7 +1716,7 @@ class PurchaseOrderLineItem(OrderLineItem):
return max(r, 0)
def is_completed(self) -> bool:
"""Determine if this lien item has been fully received."""
"""Determine if this line item has been fully received."""
return self.received >= self.quantity
def update_pricing(self):

View File

@ -3369,7 +3369,7 @@ class PartStocktakeReport(models.Model):
return os.path.basename(self.report.name)
def get_absolute_url(self):
"""Return the URL for the associaed report file for download."""
"""Return the URL for the associated report file for download."""
if self.report:
return self.report.url
return None

View File

@ -442,7 +442,7 @@ class StockItem(
tags = TaggableManager(blank=True)
# A Query filter which will be re-used in multiple places to determine if a StockItem is actually "in stock"
# A Query filter which will be reused in multiple places to determine if a StockItem is actually "in stock"
# See also: StockItem.in_stock() method
IN_STOCK_FILTER = Q(
quantity__gt=0,