mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
style fix
This commit is contained in:
parent
7c6a58e936
commit
ea8b102897
@ -39,7 +39,7 @@ class InvenTreeURLField(models.URLField):
|
||||
|
||||
class InvenTreeModelMoneyField(ModelMoneyField):
|
||||
def __init__(self, **kwargs):
|
||||
default_currency=currency_code_default
|
||||
default_currency = currency_code_default
|
||||
|
||||
# remove from kwargs if set
|
||||
if 'default_currency' in kwargs:
|
||||
|
@ -16,7 +16,6 @@ from InvenTree.fields import DatePickerFormField
|
||||
|
||||
from InvenTree.helpers import clean_decimal
|
||||
|
||||
from common.models import InvenTreeSetting
|
||||
from common.forms import MatchItemForm
|
||||
|
||||
import part.models
|
||||
|
@ -17,8 +17,6 @@ from django.contrib.auth.models import User
|
||||
from django.urls import reverse
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from common.settings import currency_code_default
|
||||
|
||||
from markdownx.models import MarkdownxField
|
||||
from mptt.models import TreeForeignKey
|
||||
|
||||
|
@ -20,8 +20,6 @@ from django.contrib.auth.models import User
|
||||
from django.db.models.signals import pre_delete
|
||||
from django.dispatch import receiver
|
||||
|
||||
from common.settings import currency_code_default
|
||||
|
||||
from markdownx.models import MarkdownxField
|
||||
|
||||
from mptt.models import MPTTModel, TreeForeignKey
|
||||
|
Loading…
Reference in New Issue
Block a user