mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-01 13:06:45 +00:00
25 lines
470 B
Python
25 lines
470 B
Python
"""
|
|
Django forms for interacting with common objects
|
|
"""
|
|
|
|
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from InvenTree.forms import HelperForm
|
|
|
|
from .models import Currency
|
|
|
|
|
|
class CurrencyEditForm(HelperForm):
|
|
""" Form for creating / editing a currency object """
|
|
|
|
class Meta:
|
|
model = Currency
|
|
fields = [
|
|
'symbol',
|
|
'suffix',
|
|
'description',
|
|
'value',
|
|
'base'
|
|
]
|