str removed for get_server_fields return
This commit is contained in:
parent
ed9b078128
commit
501f3d5098
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user