removing lambda

This commit is contained in:
Matthias 2021-07-01 00:33:24 +02:00
parent 4b7e8c7d21
commit e2278fc261

View File

@ -745,7 +745,7 @@ class PriceBreak(models.Model):
price = InvenTree.fields.InvenTreeModelMoneyField(
max_digits=19,
decimal_places=4,
default_currency=lambda: common.settings.currency_code_default(),
default_currency=common.settings.currency_code_default,
null=True,
verbose_name=_('Price'),
help_text=_('Unit price at specified quantity'),