mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-02 13:28:49 +00:00
- A lot of views / pages / etc needed to be updated too - Now uses django-money fields entirely - Create a manual rate exchange backend (needs more work!)
24 lines
403 B
Python
24 lines
403 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 InvenTreeSetting
|
|
|
|
|
|
class SettingEditForm(HelperForm):
|
|
"""
|
|
Form for creating / editing a settings object
|
|
"""
|
|
|
|
class Meta:
|
|
model = InvenTreeSetting
|
|
|
|
fields = [
|
|
'value'
|
|
]
|