error fixed in landed cost wizard

This commit is contained in:
Nabin Hait 2012-07-20 10:40:14 +05:30
parent bbc2d44241
commit 93e82b8742

View File

@ -236,7 +236,7 @@ class DocType:
def update_serial_no(self, sr_no, rate):
""" update valuation rate in serial no"""
sr_no = sr_no.split('\n')
sr_no = cstr(sr_no).split('\n')
for d in sr_no:
sql("update `tabSerial No` set purchase_rate = %s where name = %s", (rate, d))