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:
@ -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):
|
||||
|
@ -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
|
||||
|
@ -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,
|
||||
|
Reference in New Issue
Block a user