InvManage.forms

Submodules

Package Contents

Classes

ProductBasicInfoForm

Form for basic product information.

ProductDetailedInfoForm

Form for product physical details

ProductPricingForm

Form for pricing information of the product.

ProductPurchaseEntryForm

Form for product purchase entry.

ProductSalesEntryForm

Form for product sales entry.

ProductStatusForm

Form for locating and identifying the product.

ProductStorageInfoForm

Form for storage information.

PurchaseOrderBasicInfo

Form for basic information of the purchase order.

GRNInfo

Form for goods receipt note (GRN).

GRNEntryForm

Form for goods receipt note entry (GRNE).

ThumbnailForm

For for product thumbnail image.

SalesOrderBasicInfo

Form for basic information on sales order.

ConsumerForm

Form for consumer.

CompanyForm

Form for company.

HistoryForm

Form for history view.

ShippingAddressForm

For for shipping address.

VendorForm

Form for basic informaion of the vendor.

CommunicationForm

Form for communication information.

PurchaseDataForm

Form for purchase related data.

BankAccountForm

Form for bank account details.

class InvManage.forms.ProductBasicInfoForm

Bases: django.forms.Form

Form for basic product information.

name

Name of the product.

Type

str

item_type

Type of the product.

Type

str

category

Product category.

Type

str

description

Short description of the product.

Type

str

prefix = basic
context
name
item_type
category
description
class InvManage.forms.ProductDetailedInfoForm

Bases: django.forms.Form

Form for product physical details

length

Length of the product.

Type

str

width

Width of the product.

Type

str

height

Height of the product.

Type

str

weight

Weight of the product.

Type

str

prefix = detailed
context
length
width
height
weight
class InvManage.forms.ProductPricingForm

Bases: django.forms.Form

Form for pricing information of the product.

price

Price of the product.

Type

float

discount

Default discount percentage on the product.

Type

float

prefix = pricing
context
price
discount
class InvManage.forms.ProductPurchaseEntryForm

Bases: django.forms.Form

Form for product purchase entry.

ppe_id

Unique identifier of the product purchase entry.

Type

int

product

Product associated wit the product purchase entry.

Type

Product

quantity

Quantity of the product to be ordered.

Type

int

price

Price of the product.

Type

float

discount

Percentage discount on the product purchase.

Type

float

prefix = form
context
ppe_id
product
quantity
price
discount
class InvManage.forms.ProductSalesEntryForm

Bases: django.forms.Form

Form for product sales entry.

pse_id

Unique identifier of the product sales entry.

Type

int

product

Product associated with the product sales entry.

Type

Product

quantity

Quantity of the product.

Type

int

price

Price of the product.

Type

float

discount

Percentage discount on the product.

Type

float

prefix = form
context
pse_id
product
quantity
price
discount
class InvManage.forms.ProductStatusForm

Bases: django.forms.Form

Form for locating and identifying the product.

quantity

Stock quantity of the product.

Type

int

identifier

Unique identifier of the product.

Type

str

location

Physical location of the product.

Type

str

context
prefix = status
quantity
identifier
location
class InvManage.forms.ProductStorageInfoForm

Bases: django.forms.Form

Form for storage information.

barcode

Barcode of the product.

Type

str

expiry

Expiry date of the product.

Type

DateField

prefix = storage
barcode
context
expiry
class InvManage.forms.PurchaseOrderBasicInfo

Bases: django.forms.Form

Form for basic information of the purchase order.

vendor

Vendor associated with the purcahse order.

Type

Vendor

date

Date of the purchase order creation.

Type

DateField

po

Purchase order number.

Type

int

discount

Percentage of overall discount.

Type

float

tax

Percentage of tax.

Type

float

paid

Amount paid to the vendor.

Type

float

balance

Balance amount to be paid to the vendor.

Type

float

subtotal

Total of all the product purchase entries associated with the purchase order.

Type

float

taxtotal

Total tax applicable on the subtotal.

Type

float

ordertotal

Total price of the purchase order including taxtotal.

Type

float

prefix = po
context
product_choices
vendor_choices
vendor
date
po
discount
tax
paid
balance
subtotal
taxtotal
ordertotal
class InvManage.forms.GRNInfo

Bases: django.forms.Form

Form for goods receipt note (GRN).

vendor

Vendor associated with the goods receipt note.

Type

Vendor

poRef

List of identifiers of the purchase orders from which the goods receipt note is derived.

Type

PurchaseOrder

identifier

Unique identifier of the goods receipt note.

Type

str

date

Date of GRN creation.

Type

DateField

grnType

Type of GRN (auto or manual).

Type

str

amendNumber

Amendment number of the GRN.

Type

int

amendDate

Amendment date.

Type

DateField

transporter

Name of the transport/shipping service.

Type

str

vehicleNumber

Vehicle number using which the products are shipped.

Type

str

gateInwardNumber

Gate inward number of the vehicle.

Type

str

preparedBy

Name/identifier of the person who created the goods receipt note.

Type

str

checkedBy

Name/identifier of the person who validated the goods receipt note.

Type

str

checkedBy

Name/identifier of the person who inspected the physical products in the goods receipt note.

Type

str

approvedBy

Name/identifier of the authority who approved the goods receipt note.

Type

str

prefix = grn
context
product_choices
vendor_choices
vendor
TYPE_CHOICES = [['manual', 'Blank'], ['auto', 'PO Reference']]
poRef
identifier
date
grnType
amendNumber
amendDate
transporter
vehicleNumber
gateInwardNumber
preparedBy
checkedBy
inspectedBy
approvedBy
class InvManage.forms.GRNEntryForm

Bases: django.forms.Form

Form for goods receipt note entry (GRNE).

product

Product associated with the goods receipt note entry.

Type

Product

grne_id

Unique identifier of the GRNE.

Type

int

ppe_id

Unique identifier of the product purchase entry associated with the GRNE.

Type

int

quantity

Ordered quantity of product with reference to product purchase entry.

Type

int

remark

Remarks of the quality engineer or the GRN creator about status of products received.

Type

str

receivedQty

Quantity of product received against the ordered quantity.

Type

str

acceptedQty

Quantity of product accepted as OK.

Type

str

rejectedQty

Quantity of product rejected (not OK, on HOLD, extra delivery, etc.)

Type

str

prefix = form
context
product
grne_id
ppe_id
quantity
remark
receivedQty
acceptedQty
rejectedQty
class InvManage.forms.ThumbnailForm

Bases: django.forms.Form

For for product thumbnail image.

image

Image of the product.

Type

ImageField

prefix = thumbnail
image
class InvManage.forms.SalesOrderBasicInfo

Bases: django.forms.Form

Form for basic information on sales order.

consumer

Consumer associated with the sales order.

Type

Consumer

date

Date of the sales order creation.

Type

DateField

so

Sales order number.

Type

int

discount

Percentage discount associated with the sales order.

Type

float

tax

Percentage of tax applicable.

Type

float

paid

Amount received from the consumer.

Type

float

balance

Amount balance with the consumer.

Type

float

subtotal

Total of all the product sales entries associated with the sales order.

Type

float

taxtotal

Total tax applicable on the subtotal.

Type

float

ordertotal

Total price of the sales order including taxtotal.

Type

float

prefix = so
context
product_choices
consumer_choices
consumer
date
so
discount
tax
paid
balance
subtotal
taxtotal
ordertotal
class InvManage.forms.ConsumerForm

Bases: django.forms.Form

Form for consumer.

name

Name of the consumer.

Type

str

identifier

Unique identifier of the consumer.

Type

str

gstin

GSTIN number of the consumer.

Type

str

phone

Contact number.

Type

str

address

Address of the consumer.

Type

str

email

E-mail address of the consumer.

Type

str

location

City of the consumer.

Type

str

prefix = consumer
context
name
identifier
gstin
phone
address
email
location
class InvManage.forms.CompanyForm

Bases: django.forms.Form

Form for company.

name

Name of the company.

Type

str

owner

Name of the owner of the company.

Type

str

gstin

GSTIN number of the company.

Type

str

phone

Contact number of the company.

Type

str

address

Postal address.

Type

str

email

E-mail address of the contact person.

Type

str

location

City of the company.

Type

str

prefix = comp
context
name
owner
gstin
phone
address
email
location
class InvManage.forms.HistoryForm

Bases: django.forms.Form

Form for history view.

qlen

Count of the events visible on the history view.

Type

int

prefix = history
context
qlen
class InvManage.forms.ShippingAddressForm

Bases: django.forms.Form

For for shipping address.

title

Title of the firm.

Type

str

name

Name of the firm.

Type

str

phone

Contact number of the firm.

Type

str

address

Postal address.

Type

str

city

City.

Type

str

state

State.

Type

str

country

Country.

Type

str

website

Official website of the firm.

Type

URLField

post

Postal code of the firm.

Type

str

prefix = ship
context
title
name
phone
address
city
state
country
website
post
class InvManage.forms.VendorForm

Bases: django.forms.Form

Form for basic informaion of the vendor.

name

Name of the vendor.

Type

str

identifier

Unique identifier of the vendor.

Type

str

gstin

GSTIN number of the vendor.

Type

str

prefix = vend
context
name
identifier
gstin
class InvManage.forms.CommunicationForm

Bases: django.forms.Form

Form for communication information.

language

Language of communication.

Type

str

phone

Contact number of the firm.

Type

str

email

E-mail of the contact person.

Type

EmailField

fax

Fax number.

Type

str

prefix = com
context
language
phone
email
fax
class InvManage.forms.PurchaseDataForm

Bases: django.forms.Form

Form for purchase related data.

currency

Currency of purchase.

Type

str

minorder

Minimum order quantity.

Type

int

contactperson

Name of the contact person.

Type

str

refcode

Reference code.

Type

str

transportmode

Mode of transport of the shipment.

Type

str

prefix = pdform
context
currency
minorder
contactperson
refcode
transportmode
class InvManage.forms.BankAccountForm

Bases: django.forms.Form

Form for bank account details.

name

Name of the bank.

Type

str

branch

Branch number of the bank.

Type

str

region

City in which the branch is located.

Type

str

route

Transit number.

Type

str

number

Bank account number.

Type

int

acctype

Type of bank account.

Type

str

iban

IBAN number.

Type

str

code

Bank code.

Type

str

branchcode

Branch code.

Type

str

prefix = bank
context
name
branch
region
route
number
acctype
iban
code
branchcode