GST settings missing in Accounts Module

Hi all,

I have installed ERPNext in my system Ubuntu 16.04. But there is no GST settings section in Accounts module.

Kindly anyone help me to solve this issue.


1 Like

HI ,

You can need to Any type of TAX template in ACCOUNT >SALES TAXES AND CHARGES TEMPLATE

Hi Sathams,

By doing configuration of GST settings in Role permission manager, I had solved this issue. But whenever I am opening the GST Settings page i am getting a error like below.

Here is a screenshot.

Traceback (most recent call last):
File “/opt/bench/erpnext/erpnext/apps/frappe/frappe/desk/form/”, line 33, in getdoc
File “/opt/bench/erpnext/erpnext/apps/frappe/frappe/desk/form/”, line 202, in run_onload
File “/opt/bench/erpnext/erpnext/apps/frappe/frappe/model/”, line 755, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/opt/bench/erpnext/erpnext/apps/frappe/frappe/model/”, line 1029, in composer
return composed(self, method, *args, **kwargs)
File “/opt/bench/erpnext/erpnext/apps/frappe/frappe/model/”, line 1012, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/opt/bench/erpnext/erpnext/apps/frappe/frappe/model/”, line 749, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/opt/bench/erpnext/erpnext/apps/erpnext/erpnext/regional/doctype/gst_settings/”, line 19, in onload
from tabAddress where country = “India” and ifnull(gstin, ‘’)!=‘’ ‘’')
File “/opt/bench/erpnext/erpnext/apps/frappe/frappe/”, line 183, in sql
File “/opt/bench/erpnext/erpnext/env/local/lib/python2.7/site-packages/pymysql/”, line 165, in execute
result = self._query(query)
File “/opt/bench/erpnext/erpnext/env/local/lib/python2.7/site-packages/pymysql/”, line 321, in _query
File “/opt/bench/erpnext/erpnext/env/local/lib/python2.7/site-packages/pymysql/”, line 860, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File “/opt/bench/erpnext/erpnext/env/local/lib/python2.7/site-packages/pymysql/”, line 1061, in _read_query_result
File “/opt/bench/erpnext/erpnext/env/local/lib/python2.7/site-packages/pymysql/”, line 1349, in read
first_packet = self.connection._read_packet()
File “/opt/bench/erpnext/erpnext/env/local/lib/python2.7/site-packages/pymysql/”, line 1018, in _read_packet
File “/opt/bench/erpnext/erpnext/env/local/lib/python2.7/site-packages/pymysql/”, line 384, in check_error
File “/opt/bench/erpnext/erpnext/env/local/lib/python2.7/site-packages/pymysql/”, line 107, in raise_mysql_exception
raise errorclass(errno, errval)
InternalError: (1054, u"Unknown column ‘gstin’ in ‘where clause’")

please help me to solve this.


Hi ,

Did you modify any script ?

No, I didn’t modify any script.

@Racer_Aravind Somehow, in your instance the custom field’s related to GST has not been created. As a workaround, may be you can change the country in Company record to any other country as temporary basis and save the company record. And then change it back to India. It should trigger the method which creates custom fields related to GST.


@nabinhait As per your suggestion I had tried and solved this issue successfully. Thank you .


@nabinhait The workaround did not help.

Not able to view GST fields like GST Party Number, GST State.
I am using a self hosted v10 of ERPNext.
I tried restarting the instance and changing the country name to US and back to India but didn’t work for me.

Thank You So Much Sir my big issue solved.

I was unable to get HSN code and GSTIN field.

Again thanks .

Have you any notes, tips or snags you learned to pass on?

Document that here now, for all to refer and recall later :wink:

Hey there !

Can anyone help me with this, I have searched a lot but got nothing. I m unable to view GSTR-1 & GSTR-2 reports. There error message which is popping can be viewed in the screenshot.

Please help !

You can add necessary role permissions for GST Settings via Role Permissions Manager and set appropriate GST accounts


Go to Company page
Change country to anything other than India.
Save it
Change it back to India
This is how it worked for me.


Recently When i submit purchase invoice, it says “please set gst accounts in gst settings” in V13

Once i install india compliance app, it solved the issue
In version-14, they moves some features in india-compliance, to make work install the app
[india-compliance] - git repo link

Check in erpnext → patches → v14_0 → file