Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gnukhata
gkcore
Commits
a393865f
Commit
a393865f
authored
Dec 20, 2017
by
Krishnakant Mane
Committed by
Prajkta_Patkar
Jan 10, 2018
Browse files
Started work on auto generating voucher numbers for data import.
parent
4a807141
Changes
1
Hide whitespace changes
Inline
Side-by-side
gkcore/views/api_transaction.py
View file @
a393865f
...
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment