mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-06 10:21:18 +00:00
removing lambda
This commit is contained in:
1 parent
4b7e8c7d21
commit
e2278fc261
1 file changed
+1
-1
@@ -745,7 +745,7 @@ class PriceBreak(models.Model):
|
|||||||
price = InvenTree.fields.InvenTreeModelMoneyField(
|
price = InvenTree.fields.InvenTreeModelMoneyField(
|
||||||
max_digits=19,
|
max_digits=19,
|
||||||
decimal_places=4,
|
decimal_places=4,
|
||||||
default_currency=lambda: common.settings.currency_code_default(),
|
default_currency=common.settings.currency_code_default,
|
||||||
null=True,
|
null=True,
|
||||||
verbose_name=_('Price'),
|
verbose_name=_('Price'),
|
||||||
help_text=_('Unit price at specified quantity'),
|
help_text=_('Unit price at specified quantity'),
|
||||||
|
|||||||
Reference in new issue
Block a user