diff --git a/gkcore/views/api_organisation.py b/gkcore/views/api_organisation.py index 649ae4ff7c8f4a576fe74b17a37905b18c109438..890f472ae41640a9e749fe21cc4d5be91d7d9df8 100644 --- a/gkcore/views/api_organisation.py +++ b/gkcore/views/api_organisation.py @@ -80,6 +80,7 @@ class api_organisation(object): self.con.execute(select(gkdb.organisation.c.billflag)) self.con.execute(select([func.count(gkdb.billwise.c.billid)])) except: + self.con.execute("update invoice set reversecharge = '0'" ) self.con.execute("alter table invoice add orgstategstin text") self.con.execute("alter table invoice add cess jsonb") self.con.execute("alter table product add UNIQUE(productdesc,orgcode)")