Commit 1b7b3a1a authored by Prajkta Patkar's avatar Prajkta Patkar Committed by Prajkta_Patkar
Browse files

corrected

parent 48c0424a
......@@ -154,7 +154,7 @@ class api_transaction(object):
if dataset.has_key("vouchernumber") == False:
voucherType = dataset["vouchertype"]
vchNo = self.__genVoucherNumber(self.con,voucherType,dataset["orgcode"])
dataset["vouchernumber"] = initialType
dataset["vouchernumber"] = vchNo
result = self.con.execute(vouchers.insert(),[dataset])
for drkeys in drs.keys():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment