added description to check type field for data import

This commit is contained in:
Anand Doshi 2013-01-17 20:19:27 +05:30
parent 7fa2d9c57e
commit d20e4e019f

View file

@ -53,6 +53,8 @@ def get_template():
return 'Valid %s' % docfield.options
if docfield.fieldtype in ('Int'):
return 'Integer'
if docfield.fieldtype == "Check":
return "0 or 1"
else:
return ''