str removed for get_server_fields return

This commit is contained in:
Nabin Hait 2011-08-17 10:29:58 +05:30
parent ed9b078128
commit 501f3d5098

View File

@ -162,7 +162,7 @@ class DocType(TransactionBase):
if ret['warehouse']:
actual_qty = sql("select actual_qty from `tabBin` where item_code = '%s' and warehouse = '%s'" % (item_code, ret['warehouse']))
ret['actual_qty']= actual_qty and flt(actual_qty[0][0]) or 0
return str(ret)
return ret
# Get tax rate if account type is tax