Commit 531a240d authored by Prajkta_Patkar's avatar Prajkta_Patkar
Browse files

documentation added and cess field added in gkupgrade

parent a99caa46
......@@ -291,9 +291,10 @@ Note that invoice is connected to a voucher.
So the accounting part is thus connected with stock movement of that cost.
A new json field called freeqty.
Consignee (shipped to) is a json field which has name , address, state, statecode,gstin as keys along with its value.
Bankdetails is a dictionary will have bankname,accountno. and ifsccode.
Bankdetails is a dictionary will have bankname,accountno., branchname and ifsccode.
taxstate is a destination sate.
sourcestate is source state from where invoice is initiated
sourcestate is source state from where invoice is initiated.
Structure of a tax field is {productcode:taxrate}
invoice = Table('invoice',metadata,
......@@ -23,7 +23,7 @@ Contributors:
"Krishnakant Mane" <>
"Ishan Masdekar " <>
"Navin Karkera" <>
'Prajkta Patkar'<>
'Prajkta Patkar'<>
'Reshma Bhatwadekar'<>
......@@ -60,6 +60,7 @@ class api_organisation(object):
self.con = eng.connect()
......@@ -78,6 +79,7 @@ class api_organisation(object):
self.con.execute("alter table invoice add cess jsonb")
self.con.execute("alter table product add UNIQUE(productdesc,orgcode)")
self.con.execute("create table state( statecode integer,statename text,primary key (statecode))")
self.con.execute("insert into state( statecode, statename)values(1, 'Jammu and Kashmir')")
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