From 9b7a08f50f05fcb82ae9b07604a20da4d4135224 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 1 Jul 2021 07:07:40 +0200 Subject: [PATCH] fixed doc --- InvenTree/InvenTree/fields.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/InvenTree/fields.py b/InvenTree/InvenTree/fields.py index 9d7f7f4464..c461c0e752 100644 --- a/InvenTree/InvenTree/fields.py +++ b/InvenTree/InvenTree/fields.py @@ -39,7 +39,7 @@ class InvenTreeURLField(models.URLField): class InvenTreeModelMoneyField(ModelMoneyField): - """ custom MoneyField for clean migrations while havoing dynamic currency settings """ + """ custom MoneyField for clean migrations while using dynamic currency settings """ def __init__(self, **kwargs): # remove currency information for a clean migration kwargs['default_currency'] = '' @@ -54,7 +54,7 @@ class InvenTreeModelMoneyField(ModelMoneyField): class InvenTreeMoneyField(MoneyField): - """ custom MoneyField for clean migrations while havoing dynamic currency settings """ + """ custom MoneyField for clean migrations while using dynamic currency settings """ def __init__(self, *args, **kwargs): # override initial values with the real info from database kwargs['currency_choices'] = [(a, a) for a in settings.CURRENCIES]