Removed cstr in return for get_server_fields()

This commit is contained in:
Nabin Hait
2011-08-17 10:50:57 +05:30
parent 192db6a7cd
commit d075a6c53d
11 changed files with 15 additions and 15 deletions

View File

@@ -106,7 +106,7 @@ class DocType:
'standard_rate' : 0
}
ret_item.update(ret_bom_rates)
return cstr(ret_item)
return ret_item
def set_as_default_bom(self):
# set Is Default as 1

View File

@@ -34,7 +34,7 @@ class DocType:
'stock_uom' : item and item[0]['stock_uom'] or '',
'default_bom' : item and item[0]['default_bom'] or ''
}
return cstr(ret)
return ret
def validate(self):
if not self.doc.production_item :