Where are database update files stored?

When you install ERPNext for the first time or do a GIT Pull, if there are any new features that need some data to be inserted into the database, then where are those data files located in the ERPNext GIT repository?

For Example - when you install ERPNext for the first time, the table [tabGST HSN Code] is populated at install time (or during setting up a new company). Where can I find the file in the repository that populates this table with the data?

GST HSN Code is populated in the erpnext/regional/india/setup.py file. In the method create_hsn_codes. It gets the info from a .json file in erpnext/regional/india folder.

1 Like

Awesome, Thanks a lot!!