Commit 1f08f87d authored by Nitesh Laxman Chaughule 's avatar Nitesh Laxman Chaughule
Browse files

Code is corrected in "gkupgrade" function.

parent 9a31d936
......@@ -62,10 +62,10 @@ class api_organisation(object):
"""
self.con = eng.connect()
try:
self.con.execute(select(gkdb.invoice.c.address))
self.con.execute(select(gkdb.customerandsupplier.c.bankdetails))
self.con.execute(select(gkdb.invoice.c.paymentmode))
self.con.execute(select(gkdb.organisation.c.bankdetails))
self.con.execute(select([func.count(gkdb.invoice.c.address)]))
self.con.execute(select([func.count(gkdb.customerandsupplier.c.bankdetails)]))
self.con.execute(select([func.count(gkdb.invoice.c.paymentmode)]))
self.con.execute(select([func.count(gkdb.organisation.c.bankdetails)]))
self.con.execute(select([func.count(gkdb.delchal.c.consignee)]))
self.con.execute(select([func.count(gkdb.invoice.c.orgstategstin)]))
self.con.execute(select([func.count(gkdb.invoice.c.cess)]))
......
Supports Markdown
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