mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
style fixes
This commit is contained in:
parent
4f726931a6
commit
e4a9d56ba0
@ -250,7 +250,7 @@ def decimal2string(d):
|
|||||||
return s.rstrip("0").rstrip(".")
|
return s.rstrip("0").rstrip(".")
|
||||||
|
|
||||||
|
|
||||||
def decimal2money(d, currency = None):
|
def decimal2money(d, currency=None):
|
||||||
"""
|
"""
|
||||||
Format a Decimal number as Money
|
Format a Decimal number as Money
|
||||||
|
|
||||||
|
@ -2498,7 +2498,7 @@ class BomItem(models.Model):
|
|||||||
return required
|
return required
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def price_range(self, internal = False):
|
def price_range(self, internal=False):
|
||||||
""" Return the price-range for this BOM item. """
|
""" Return the price-range for this BOM item. """
|
||||||
|
|
||||||
# get internal price setting
|
# get internal price setting
|
||||||
|
Loading…
Reference in New Issue
Block a user