InvManage.forms.forms
Module Contents
Classes
Form for basic product information. |
|
Form for product physical details |
|
For for product thumbnail image. |
|
Form for storage information. |
|
Form for pricing information of the product. |
|
Form for locating and identifying the product. |
|
Form for basic information of the purchase order. |
|
Form for goods receipt note (GRN). |
|
Form for basic information on sales order. |
|
Form for consumer. |
|
Form for goods receipt note entry (GRNE). |
|
Form for product purchase entry. |
|
Form for product sales entry. |
|
Form for company. |
|
Form for history view. |
- class InvManage.forms.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.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.forms.ThumbnailForm
Bases:
django.forms.Form
For for product thumbnail image.
- image
Image of the product.
- Type
ImageField
- prefix = thumbnail
- image
- class InvManage.forms.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.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.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.forms.PurchaseOrderBasicInfo
Bases:
django.forms.Form
Form for basic information of the purchase order.
- 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.forms.GRNInfo
Bases:
django.forms.Form
Form for goods receipt note (GRN).
- poRef
List of identifiers of the purchase orders from which the goods receipt note is derived.
- Type
- identifier
Unique identifier of the goods receipt note.
- Type
str
- date
Date of GRN creation.
- Type
DateField
- grnType
Type of GRN (
auto
ormanual
).- 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.forms.SalesOrderBasicInfo
Bases:
django.forms.Form
Form for basic information on sales order.
- 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.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.forms.GRNEntryForm
Bases:
django.forms.Form
Form for goods receipt note entry (GRNE).
- 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.forms.ProductPurchaseEntryForm
Bases:
django.forms.Form
Form for product purchase entry.
- ppe_id
Unique identifier of the product purchase entry.
- Type
int
- 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.forms.ProductSalesEntryForm
Bases:
django.forms.Form
Form for product sales entry.
- pse_id
Unique identifier of the product sales entry.
- Type
int
- 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.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