Commit 6b9460ff authored by Krishnakant Mane's avatar Krishnakant Mane
Browse files

Merge branch 'autovchno' into 'devel'

Refinement in the wording of vouchertype

See merge request !30
parents a6bf5a52 6f6adc47
......@@ -24,6 +24,7 @@ Contributors:
"Ishan Masdekar " <imasdekar@dff.org.in>
"Navin Karkera" <navin@dff.org.in>
"Vanita Rajpurohit" <vanita.rajpurohit9819@gmail.com>
'Prajkta Patkar' <prajkta@riseup.net>
"""
......@@ -85,13 +86,13 @@ class api_transaction(object):
initialType = "sl"
if voucherType == "purchase":
initialType = "pu"
if voucherType == "credit Note":
if voucherType == "creditnote":
initialType = "cn"
if voucherType == "debit Note":
if voucherType == "debitnote":
initialType = "dn"
if voucherType == "sale Return":
if voucherType == "salereturn":
initialType = "sr"
if voucherType == "purchase Return":
if voucherType == "purchasereturn":
initialType = "pr"
vchCountResult = self.con.execute("select count(vouchercode) as vcount from vouchers where orgcode = %d"%(int(orgcode)))
......
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