Commit a393865f authored by Krishnakant Mane's avatar Krishnakant Mane Committed by Prajkta_Patkar
Browse files

Started work on auto generating voucher numbers for data import.

parent 4a807141
......@@ -67,7 +67,13 @@ class api_transaction(object):
self.request = Request
self.request = request
self.con = Connection
def __genVoucherNumber(self,voucherType,con):
"""
Purpose:
Generates a new vouchernumber based on vouchertype and max count for that type.
"""
initialType = ""
@view_config(request_method='POST',renderer='json')
def addVoucher(self):
......
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