2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 04:55:44 +00:00
Files
InvenTree/InvenTree/company/forms.py
2019-04-14 09:30:45 +10:00

35 lines
621 B
Python

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from InvenTree.forms import HelperForm
from .models import Company
class EditCompanyForm(HelperForm):
class Meta:
model = Company
fields = [
'name',
'description',
'website',
'address',
'phone',
'email',
'contact',
'image',
'is_customer',
'is_supplier',
'notes'
]
class CompanyImageForm(HelperForm):
class Meta:
model = Company
fields = [
'image'
]