Officially remove FormEncode dependency
This commit is contained in:
parent
33e345f4ae
commit
f636b98cb3
2 changed files with 0 additions and 17 deletions
|
@ -36,7 +36,6 @@ from rattail.gpc import GPC
|
|||
from rattail.util import pretty_quantity, prettify
|
||||
|
||||
import colander
|
||||
import formencode as fe
|
||||
from webhelpers2.html import tags
|
||||
|
||||
from tailbone import forms, grids
|
||||
|
@ -398,22 +397,12 @@ class ReceivingForm(colander.MappingSchema):
|
|||
# 'mispick',
|
||||
]))
|
||||
|
||||
# product = forms.validators.ValidProduct()
|
||||
# upc = forms.validators.ValidGPC()
|
||||
# brand_name = fe.validators.String()
|
||||
# description = fe.validators.String()
|
||||
# size = fe.validators.String()
|
||||
# case_quantity = fe.validators.Number()
|
||||
|
||||
cases = colander.SchemaNode(colander.Decimal(), missing=colander.null)
|
||||
|
||||
units = colander.SchemaNode(colander.Decimal(), missing=colander.null)
|
||||
|
||||
expiration_date = colander.SchemaNode(colander.Date(), missing=colander.null)
|
||||
|
||||
# trash = fe.validators.Bool()
|
||||
# ordered_product = forms.validators.ValidProduct()
|
||||
|
||||
|
||||
def includeme(config):
|
||||
ReceivingBatchView.defaults(config)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue