style fixes

This commit is contained in:
Matthias 2021-06-27 14:26:51 +02:00
parent 4f726931a6
commit e4a9d56ba0
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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